Commit 899b5a46 authored by maqing's avatar maqing

垂直越权

parent f05cb559
...@@ -56,7 +56,7 @@ public class ResourceServerConfig { ...@@ -56,7 +56,7 @@ public class ResourceServerConfig {
.anyExchange().access(authorizationManager) .anyExchange().access(authorizationManager)
.and() .and()
.exceptionHandling() .exceptionHandling()
// 处理 // 处理未授权
.accessDeniedHandler(accessDeniedHandler()) .accessDeniedHandler(accessDeniedHandler())
//处理未认证 //处理未认证
.authenticationEntryPoint(authenticationEntryPoint()) .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