spring webflux security jwt:使用Spring Reactive WebfluxSpring Boot 2和Spring Securi

bridegroom_6810 22 0 ZIP 2021-02-01 22:02:06

使用JWT与Spring WebFlux和Spring Security Reactive进行身份验证和授权 首先阅读的好文档 在开始之前,我建议您先阅读下一份参考 启用S​​pring WebFlux安全性 在你的应用程序首先使Webflux安全@EnableWebFluxSecurity @SpringBootApplication @EnableWebFluxSecurity public class SecuredRestApplication { .... } 创建一个InMemory UserDetailsS​​ervice 定义一个自定义UserDetailsService

用户评论
请输入评论内容
评分:
暂无评论