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