|
|
@@ -70,7 +70,7 @@ public class WebSecurityConfig { |
|
|
|
.pathMatchers("/api/system/demo/dsp").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DSP_MP) |
|
|
|
.pathMatchers("/api/system/demo/hhz").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DSP_WEB) |
|
|
|
.pathMatchers(OAUTH_PATH).hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DSP_MP, AuthorityConstant.SCOPE_TUOHNEG_DSP_WEB) |
|
|
|
.pathMatchers("/oidc/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_OIDC_ADMIN) |
|
|
|
.pathMatchers("/oidc/admin/**").authenticated() |
|
|
|
//.pathMatchers(PERMIT_PATH).permitAll() |
|
|
|
.anyExchange().permitAll() |
|
|
|
.and() |