mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-31 08:14:18 +08:00
⬆️ Upgrading dependencies. close #I4ROFU up springboot 2.6.3
This commit is contained in:
parent
0846f2a713
commit
9872877952
@ -47,7 +47,7 @@ import org.springframework.security.web.authentication.logout.LogoutSuccessHandl
|
|||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter {
|
public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter {
|
||||||
|
|
||||||
private final UserDetailsService pigUserDetailsService;
|
private final UserDetailsService pigUserDetailsServiceImpl;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
@ -67,7 +67,7 @@ public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter {
|
|||||||
protected void configure(AuthenticationManagerBuilder auth) {
|
protected void configure(AuthenticationManagerBuilder auth) {
|
||||||
DaoAuthenticationProvider daoAuthenticationProvider = new DaoAuthenticationProvider();
|
DaoAuthenticationProvider daoAuthenticationProvider = new DaoAuthenticationProvider();
|
||||||
daoAuthenticationProvider.setPasswordEncoder(passwordEncoder());
|
daoAuthenticationProvider.setPasswordEncoder(passwordEncoder());
|
||||||
daoAuthenticationProvider.setUserDetailsService(pigUserDetailsService);
|
daoAuthenticationProvider.setUserDetailsService(pigUserDetailsServiceImpl);
|
||||||
|
|
||||||
// 处理默认的密码模式认证
|
// 处理默认的密码模式认证
|
||||||
auth.authenticationProvider(daoAuthenticationProvider);
|
auth.authenticationProvider(daoAuthenticationProvider);
|
||||||
|
2
pom.xml
2
pom.xml
@ -27,7 +27,7 @@
|
|||||||
<url>https://www.pig4cloud.com</url>
|
<url>https://www.pig4cloud.com</url>
|
||||||
|
|
||||||
<properties>
|
<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.version>2021.0.0</spring-cloud.version>
|
||||||
<spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
|
<spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
Loading…
Reference in New Issue
Block a user