fixed persistent login processing
authormaxcooper <maxcooper>
Mon, 26 Jan 2004 10:55:21 +0000 (10:55 +0000)
committermaxcooper <maxcooper>
Mon, 26 Jan 2004 10:55:21 +0000 (10:55 +0000)
src/share/org/securityfilter/authenticator/FormAuthenticator.java

index cf6788e..f03f1fa 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/FormAuthenticator.java,v 1.9 2004/01/26 09:27:29 maxcooper Exp $
- * $Revision: 1.9 $
- * $Date: 2004/01/26 09:27:29 $
+ * $Header: /cvsroot/securityfilter/securityfilter/src/share/org/securityfilter/authenticator/FormAuthenticator.java,v 1.10 2004/01/26 10:55:21 maxcooper Exp $
+ * $Revision: 1.10 $
+ * $Date: 2004/01/26 10:55:21 $
  *
  * ====================================================================
  * The SecurityFilter Software License, Version 1.1
@@ -69,7 +69,7 @@ import java.security.Principal;
  * FormAuthenticator - authenticator implementation for the FORM auth method.
  *
  * @author Max Cooper (max@maxcooper.com)
- * @version $Revision: 1.9 $ $Date: 2004/01/26 09:27:29 $
+ * @version $Revision: 1.10 $ $Date: 2004/01/26 10:55:21 $
  */
 public class FormAuthenticator implements Authenticator {
 
@@ -156,7 +156,7 @@ public class FormAuthenticator implements Authenticator {
       // process any persistent login information, if user is not already logged in,
       // persistent logins are enabled, and the persistent login info is present in this request
       if (
-         request.getRemoteUser() != null
+         request.getRemoteUser() == null
          && persistentLoginManager != null
          && persistentLoginManager.rememberingLogin(request)
       ) {