renamed isLogoutRequest method; now processLogout
authoranoncvs_webpanels <anoncvs_webpanels>
Mon, 26 Jan 2004 07:14:53 +0000 (07:14 +0000)
committeranoncvs_webpanels <anoncvs_webpanels>
Mon, 26 Jan 2004 07:14:53 +0000 (07:14 +0000)
src/share/org/securityfilter/authenticator/Authenticator.java
src/share/org/securityfilter/authenticator/BasicAuthenticator.java
src/share/org/securityfilter/authenticator/FormAuthenticator.java

index efd3943..fb3187b 100644 (file)
@@ -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.
index 9c51424..2897878 100644 (file)
@@ -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;
    }
 
index 3fb22d2..791d444 100644 (file)
@@ -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);
    }