|
|
@@ -65,6 +65,7 @@ public class WebSecurityConfig { |
|
|
|
String[] weptspPermitPath = PermitPathConstant.weptspPermitUrlStr; |
|
|
|
String[] airmonitorPermitPath = PermitPathConstant.airmonitorPermitUrlStr; |
|
|
|
String[] telecomumalePermitPath = PermitPathConstant.telecomumaleUrlStr; |
|
|
|
String[] alertPermitPath = PermitPathConstant.alertleUrlStr; |
|
|
|
httpSecurity |
|
|
|
.authorizeExchange() |
|
|
|
//.pathMatchers(OAUTH_PATH).hasAnyAuthority(AuthorityConstant.SCOPE_ADMIN, AuthorityConstant.SCOPE_TUOHNEG_DSP_MP, AuthorityConstant.SCOPE_TUOHNEG_DSP_WEB) |
|
|
@@ -75,6 +76,7 @@ public class WebSecurityConfig { |
|
|
|
.pathMatchers(weptspPermitPath).permitAll() |
|
|
|
.pathMatchers(airmonitorPermitPath).permitAll() |
|
|
|
.pathMatchers(telecomumalePermitPath).permitAll() |
|
|
|
.pathMatchers(alertPermitPath).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) |