|
|
@@ -67,6 +67,7 @@ public class WebSecurityConfig { |
|
|
|
String[] telecomumalePermitPath = PermitPathConstant.telecomumaleUrlStr; |
|
|
|
String[] alertPermitPath = PermitPathConstant.alertleUrlStr; |
|
|
|
String[] airportPermitPath = PermitPathConstant.airportUrlStr; |
|
|
|
String[] oidcPermitPath = PermitPathConstant.oidcUrlStr; |
|
|
|
httpSecurity |
|
|
|
.authorizeExchange() |
|
|
|
//.pathMatchers(OAUTH_PATH).hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DSP_MP, AuthorityConstant.SCOPE_TUOHNEG_DSP_WEB) |
|
|
@@ -79,6 +80,7 @@ public class WebSecurityConfig { |
|
|
|
.pathMatchers(telecomumalePermitPath).permitAll() |
|
|
|
.pathMatchers(alertPermitPath).permitAll() |
|
|
|
.pathMatchers(airportPermitPath).permitAll() |
|
|
|
.pathMatchers(oidcPermitPath).permitAll() |
|
|
|
.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("/hhz/admin/**").hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_HHZ_ADMIN) |