getAuthentication
SpringBoot + WebFlux + Spring Security ,SecurityContextHolder.getContext().getAuthentication()获取不到当前用户
解决方案 直接在Controller接口方法参数中写入org.springframework.security.core.Authentication,如下: @GetMapping(path = "/test") public Mono<Response<?,?>> test(Authentica ......