ソースを参照

Merge branch 'develop' of gitadmin/tuoheng_gateway into release

pull/23/head
gitadmin 1年前
コミット
27eb09666e
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/main/java/com/tuoheng/gateway/config/WebSecurityConfig.java

+ 1
- 1
src/main/java/com/tuoheng/gateway/config/WebSecurityConfig.java ファイルの表示

@@ -69,7 +69,7 @@ public class WebSecurityConfig {
.pathMatchers(OAUTH_PATH).hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DSP_MP, AuthorityConstant.SCOPE_TUOHNEG_DSP_WEB)
.pathMatchers("/pilot/miniprogram/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_PILOT_MP)
.pathMatchers("/pilot/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_PILOT_ADMIN)
.pathMatchers("/oidc/admin/**").authenticated()
//.pathMatchers("/oidc/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_OIDC_ADMIN)
//.pathMatchers(PERMIT_PATH).permitAll()
.anyExchange().permitAll()
.and()

読み込み中…
キャンセル
保存