From: anoncvs_webpanels Date: Mon, 26 Jan 2004 07:14:53 +0000 (+0000) Subject: renamed isLogoutRequest method; now processLogout X-Git-Tag: rel-2_0-alpha1~14 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6fb335a938abd520e3650ccb61558f507cd25203;p=securityfilter.git renamed isLogoutRequest method; now processLogout --- diff --git a/src/share/org/securityfilter/authenticator/Authenticator.java b/src/share/org/securityfilter/authenticator/Authenticator.java index efd3943..fb3187b 100644 --- a/src/share/org/securityfilter/authenticator/Authenticator.java +++ b/src/share/org/securityfilter/authenticator/Authenticator.java @@ -1,7 +1,7 @@ /* - * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/Authenticator.java,v 1.2 2004/01/26 07:11:30 anoncvs_webpanels Exp $ - * $Revision: 1.2 $ - * $Date: 2004/01/26 07:11:30 $ + * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/Authenticator.java,v 1.3 2004/01/26 07:14:53 anoncvs_webpanels Exp $ + * $Revision: 1.3 $ + * $Date: 2004/01/26 07:14:53 $ * * ==================================================================== * The SecurityFilter Software License, Version 1.1 @@ -67,7 +67,7 @@ import java.io.IOException; * method, such as FORM or BASIC (others are possible). * * @author Max Cooper (max@maxcooper.com) - * @version $Revision: 1.2 $ $Date: 2004/01/26 07:11:30 $ + * @version $Revision: 1.3 $ $Date: 2004/01/26 07:14:53 $ */ public interface Authenticator { @@ -107,11 +107,12 @@ public interface Authenticator { /** * Return true if this is a logout request. + * Perform any logout processing that is required. * * @param request * @return true if this is a logout request, false otherwise */ - public boolean isLogoutRequest(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) throws Exception; + public boolean processLogout(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) throws Exception; /** * Return true if security checks should be bypassed for this request. diff --git a/src/share/org/securityfilter/authenticator/BasicAuthenticator.java b/src/share/org/securityfilter/authenticator/BasicAuthenticator.java index 9c51424..2897878 100644 --- a/src/share/org/securityfilter/authenticator/BasicAuthenticator.java +++ b/src/share/org/securityfilter/authenticator/BasicAuthenticator.java @@ -1,7 +1,7 @@ /* - * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/BasicAuthenticator.java,v 1.3 2004/01/26 07:11:30 anoncvs_webpanels Exp $ - * $Revision: 1.3 $ - * $Date: 2004/01/26 07:11:30 $ + * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/BasicAuthenticator.java,v 1.4 2004/01/26 07:14:53 anoncvs_webpanels Exp $ + * $Revision: 1.4 $ + * $Date: 2004/01/26 07:14:53 $ * * ==================================================================== * The SecurityFilter Software License, Version 1.1 @@ -70,7 +70,7 @@ import java.security.Principal; * * @author Daya Sharma (iamdaya@yahoo.com, billydaya@sbcglobal.net) * @author Max Cooper (max@maxcooper.com) - * @version $Revision: 1.3 $ $Date: 2004/01/26 07:11:30 $ + * @version $Revision: 1.4 $ $Date: 2004/01/26 07:14:53 $ */ public class BasicAuthenticator implements Authenticator { public static final String LOGIN_ATTEMPTS = BasicAuthenticator.class.getName() + ".LOGIN_ATTEMPTS"; @@ -187,7 +187,7 @@ public class BasicAuthenticator implements Authenticator { * @param patternMatcher * @return always returns false */ - public boolean isLogoutRequest(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) { + public boolean processLogout(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) { return false; } diff --git a/src/share/org/securityfilter/authenticator/FormAuthenticator.java b/src/share/org/securityfilter/authenticator/FormAuthenticator.java index 3fb22d2..791d444 100644 --- a/src/share/org/securityfilter/authenticator/FormAuthenticator.java +++ b/src/share/org/securityfilter/authenticator/FormAuthenticator.java @@ -1,7 +1,7 @@ /* - * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/FormAuthenticator.java,v 1.5 2004/01/26 07:11:30 anoncvs_webpanels Exp $ - * $Revision: 1.5 $ - * $Date: 2004/01/26 07:11:30 $ + * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/FormAuthenticator.java,v 1.6 2004/01/26 07:14:53 anoncvs_webpanels Exp $ + * $Revision: 1.6 $ + * $Date: 2004/01/26 07:14:53 $ * * ==================================================================== * The SecurityFilter Software License, Version 1.1 @@ -68,7 +68,7 @@ import java.security.Principal; * FormAuthenticator - authenticator implementation for the FORM auth method. * * @author Max Cooper (max@maxcooper.com) - * @version $Revision: 1.5 $ $Date: 2004/01/26 07:11:30 $ + * @version $Revision: 1.6 $ $Date: 2004/01/26 07:14:53 $ */ public class FormAuthenticator implements Authenticator { @@ -195,7 +195,7 @@ public class FormAuthenticator implements Authenticator { * @param request * @return true if this is a logout request, false otherwise */ - public boolean isLogoutRequest(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) throws Exception { + public boolean processLogout(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) throws Exception { String requestURL = request.getMatchableURL(); return patternMatcher.match(requestURL, logoutPagePattern); }