mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-16 23:33:31 +00:00
Downgrade AuthenticationFilter modifier
Fixes gh-7177
This commit is contained in:
parent
f28681f41d
commit
a5cfd9fdb9
@ -166,7 +166,7 @@ public class AuthenticationFilter extends OncePerRequestFilter {
|
|||||||
this.successHandler.onAuthenticationSuccess(request, response, chain, authentication);
|
this.successHandler.onAuthenticationSuccess(request, response, chain, authentication);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
|
protected Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
|
||||||
throws AuthenticationException, IOException, ServletException {
|
throws AuthenticationException, IOException, ServletException {
|
||||||
Authentication authentication = this.authenticationConverter.convert(request);
|
Authentication authentication = this.authenticationConverter.convert(request);
|
||||||
if (authentication == null) {
|
if (authentication == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user