diff --git a/pig-auth/src/main/java/com/pig4cloud/pig/auth/config/WebSecurityConfiguration.java b/pig-auth/src/main/java/com/pig4cloud/pig/auth/config/WebSecurityConfiguration.java index 2a6a0a95..df6324e9 100755 --- a/pig-auth/src/main/java/com/pig4cloud/pig/auth/config/WebSecurityConfiguration.java +++ b/pig-auth/src/main/java/com/pig4cloud/pig/auth/config/WebSecurityConfiguration.java @@ -47,7 +47,7 @@ import org.springframework.security.web.authentication.logout.LogoutSuccessHandl @RequiredArgsConstructor public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter { - private final UserDetailsService pigUserDetailsService; + private final UserDetailsService pigUserDetailsServiceImpl; @Override @SneakyThrows @@ -67,7 +67,7 @@ public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter { protected void configure(AuthenticationManagerBuilder auth) { DaoAuthenticationProvider daoAuthenticationProvider = new DaoAuthenticationProvider(); daoAuthenticationProvider.setPasswordEncoder(passwordEncoder()); - daoAuthenticationProvider.setUserDetailsService(pigUserDetailsService); + daoAuthenticationProvider.setUserDetailsService(pigUserDetailsServiceImpl); // 处理默认的密码模式认证 auth.authenticationProvider(daoAuthenticationProvider); diff --git a/pom.xml b/pom.xml index 20faff2e..e44ffcfc 100755 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ https://www.pig4cloud.com - 2.6.2 + 2.6.3 2021.0.0 2021.1 UTF-8