安全增强
安全增强基于 spring-boot-starter-security 做了一层薄扩展,重点是把当前请求的 Authentication 优雅地注入到 Controller 入参对象中,避免在每个方法里手写 SecurityContextHolder.getContext().getAuthentication() 与字段赋值。
安全增强基于 spring-boot-starter-security 做了一层薄扩展,重点是把当前请求的 Authentication 优雅地注入到 Controller 入参对象中,避免在每个方法里手写 SecurityContextHolder.getContext().getAuthentication() 与字段赋值。