修正打字错误

This commit is contained in:
lawrencehj 2021-07-23 16:58:11 +08:00
parent 7a2cc71a5e
commit 001ecd0d75

View File

@ -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);
} }