mall-swarm
mall-swarm copied to clipboard
网关oauth资源服务异常拦截问题
.accessDeniedHandler(restfulAccessDeniedHandler)//处理未授权 .authenticationEntryPoint(restAuthenticationEntryPoint)//处理未认证
这两个是不是应该放到.oauth2ResourceServer()后
.accessDeniedHandler(restfulAccessDeniedHandler)//处理未授权 .authenticationEntryPoint(restAuthenticationEntryPoint)//处理未认证
这两个是不是应该放到.oauth2ResourceServer()后
不用,这两个是security拦截