2024年1月25日
摘要: 如果某个请求接口不需要登录认证,也就是不需要被Security拦截保护,有两种实现方式。 1.HttpSecurity设置该地址匿名访问 2.WebSecurityCustomizer直接过滤掉该接口,即该接口不走Spring Security过滤器链 一:HttpSecurity HttpSecu 阅读全文
posted @ 2024-01-25 16:05 dreamstar 阅读(706) 评论(0) 推荐(0) 编辑