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
1 changed files with 1 additions and 1 deletions

View File

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