Skip to content

Commit 353ee0d

Browse files
committed
添加uri拦截
1 parent 4be7a98 commit 353ee0d

File tree

1 file changed

+3
-0
lines changed
  • spring-cloud-gray-server/src/main/java/cn/springcloud/gray/server/configuration

1 file changed

+3
-0
lines changed

spring-cloud-gray-server/src/main/java/cn/springcloud/gray/server/configuration/OAuth2Config.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ public void configure(HttpSecurity http) throws Exception {
116116

117117
.antMatchers(HttpMethod.OPTIONS, "/gray/**").permitAll()
118118
.antMatchers("/gray/service/**").authenticated()
119+
.antMatchers("/gray/policy/**").authenticated()
120+
.antMatchers("/gray/decision/**").authenticated()
121+
.antMatchers("/gray/discover/**").authenticated()
119122
.antMatchers("/gray/track/**").authenticated()
120123
.anyRequest().permitAll()
121124
.and()

0 commit comments

Comments
 (0)