⬆️ Upgrading dependencies. close #I4ROFU up springboot 2.6.3

This commit is contained in:
qraddx 2022-01-21 13:33:10 +08:00
parent 0846f2a713
commit 9872877952
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -27,7 +27,7 @@
<url>https://www.pig4cloud.com</url>
<properties>
<spring-boot.version>2.6.2</spring-boot.version>
<spring-boot.version>2.6.3</spring-boot.version>
<spring-cloud.version>2021.0.0</spring-cloud.version>
<spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>