springboot security 自定义 AuthenticationEntryPoint 和 AccessDeineHandler
找了大半天的资料终于在国外的网站上找到了,相关问题,不过还好把security的认证流程和授权流程又重新看了遍:AuthenticationEntryPoint 用来解决匿名用户访问无权限资源时的异常AccessDeineHandler 用来解决认证过的用户访问无权限资源时的异常配置类:@Configuration@EnableWebSecurity@EnableGlobalM...
原创
2018-04-17 15:51:31 ·
48796 阅读 ·
2 评论