mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +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);
|
||||
}
|
||||
|
||||
public Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
|
||||
protected Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
|
||||
throws AuthenticationException, IOException, ServletException {
|
||||
Authentication authentication = this.authenticationConverter.convert(request);
|
||||
if (authentication == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user