漏洞修改
This commit is contained in:
parent
d93865d43b
commit
da24510b46
|
|
@ -95,7 +95,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||||
auth.authenticationProvider(userAuthenticationProvider);
|
auth.authenticationProvider(userAuthenticationProvider);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
/* @Bean
|
||||||
SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
|
SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
|
||||||
http
|
http
|
||||||
.headers(headers -> headers
|
.headers(headers -> headers
|
||||||
|
|
@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
return http.build();
|
return http.build();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 添加-App登录-用户名和密码登陆验证的过滤器
|
* 添加-App登录-用户名和密码登陆验证的过滤器
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue