Downgrade AuthenticationFilter modifier

Fixes gh-7177
This commit is contained in:
Khy 2019-08-03 14:47:04 +08:00 committed by Josh Cummings
parent f28681f41d
commit a5cfd9fdb9

View File

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