From d541c8e25783187417a243d2c1485af3664131c3 Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Wed, 26 Apr 2006 04:42:16 +0000 Subject: [PATCH] SEC-238: Add AuthenticationException to onUnsuccessfulAuthentication method signature. --- .../java/org/acegisecurity/ui/AbstractProcessingFilter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java b/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java index bff09198be..0fc5466c65 100644 --- a/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java +++ b/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java @@ -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 {} /** *

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