SEC-238: Add AuthenticationException to onUnsuccessfulAuthentication method signature.

This commit is contained in:
Ben Alex 2006-04-26 04:42:16 +00:00
parent 942bdbfad3
commit d541c8e257
1 changed files with 3 additions and 2 deletions

View File

@ -311,7 +311,8 @@ public abstract class AbstractProcessingFilter implements Filter,
throws IOException {}
protected void onUnsuccessfulAuthentication(HttpServletRequest request,
HttpServletResponse response) throws IOException {}
HttpServletResponse response, AuthenticationException failed)
throws IOException {}
/**
* <p>
@ -473,7 +474,7 @@ public abstract class AbstractProcessingFilter implements Filter,
.setAttribute(ACEGI_SECURITY_LAST_EXCEPTION_KEY, failed);
} catch (Exception ignored) {}
onUnsuccessfulAuthentication(request, response);
onUnsuccessfulAuthentication(request, response, failed);
rememberMeServices.loginFail(request, response);