/*
- * $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
* 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 {
/**
* 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.
/*
- * $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
*
* @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";
* @param patternMatcher
* @return always returns false
*/
- public boolean isLogoutRequest(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) {
+ public boolean processLogout(SecurityRequestWrapper request, URLPatternMatcher patternMatcher) {
return false;
}
/*
- * $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
* 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 {
* @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);
}