From 5a8719b76a44b6ff60c429856172f37117104d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= Date: Tue, 27 Mar 2018 23:31:11 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20#IILTZ=20Config=E5=8D=95=E8=AF=8D?= =?UTF-8?q?=E6=8B=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig/auth/config/PigSecurityConfigurerAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java b/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java index 527dfa1d..2ab3a341 100644 --- a/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java +++ b/pig-auth/src/main/java/com/github/pig/auth/config/PigSecurityConfigurerAdapter.java @@ -1,7 +1,7 @@ package com.github.pig.auth.config; import com.github.pig.auth.component.mobile.MobileSecurityConfigurer; -import com.github.pig.common.bean.config.FilterUrlsPropertiesConifg; +import com.github.pig.common.bean.config.FilterUrlsPropertiesConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; @@ -17,7 +17,7 @@ import org.springframework.security.config.annotation.web.configurers.Expression @EnableWebSecurity public class PigSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { @Autowired - private FilterUrlsPropertiesConifg filterUrlsPropertiesConifg; + private FilterUrlsPropertiesConfig filterUrlsPropertiesConfig; @Autowired private MobileSecurityConfigurer mobileSecurityConfigurer; @@ -28,7 +28,7 @@ public class PigSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { .loginProcessingUrl("/authentication/form") .and() .authorizeRequests(); - for (String url : filterUrlsPropertiesConifg.getAnon()) { + for (String url : filterUrlsPropertiesConfig.getAnon()) { registry.antMatchers(url).permitAll(); } registry.anyRequest().authenticated()