修正打字错误
parent
87e7d0026f
commit
bc37cdd57b
|
@ -94,7 +94,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||||
List<String> interfaceAuthenticationExcludes = userSetup.getInterfaceAuthenticationExcludes();
|
List<String> interfaceAuthenticationExcludes = userSetup.getInterfaceAuthenticationExcludes();
|
||||||
for (String interfaceAuthenticationExclude : interfaceAuthenticationExcludes) {
|
for (String interfaceAuthenticationExclude : interfaceAuthenticationExcludes) {
|
||||||
if (interfaceAuthenticationExclude.split("/").length < 4 ) {
|
if (interfaceAuthenticationExclude.split("/").length < 4 ) {
|
||||||
logger.warn("{}不满足两极目录,已忽略", interfaceAuthenticationExclude);
|
logger.warn("{}不满足两级目录,已忽略", interfaceAuthenticationExclude);
|
||||||
}else {
|
}else {
|
||||||
web.ignoring().antMatchers(interfaceAuthenticationExclude);
|
web.ignoring().antMatchers(interfaceAuthenticationExclude);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue