Commit 899b5a46 authored by maqing's avatar maqing

垂直越权

parent f05cb559
......@@ -56,7 +56,7 @@ public class ResourceServerConfig {
.anyExchange().access(authorizationManager)
.and()
.exceptionHandling()
// 处理
// 处理未授权
.accessDeniedHandler(accessDeniedHandler())
//处理未认证
.authenticationEntryPoint(authenticationEntryPoint())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment