修正打字错误
This commit is contained in:
parent
7a2cc71a5e
commit
001ecd0d75
@ -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
Block a user