From 7603bcaa9e0e436997caa24700db25625a40899f Mon Sep 17 00:00:00 2001 From: maxcooper Date: Mon, 26 Jan 2004 10:55:21 +0000 Subject: [PATCH] fixed persistent login processing --- .../org/securityfilter/authenticator/FormAuthenticator.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/share/org/securityfilter/authenticator/FormAuthenticator.java b/src/share/org/securityfilter/authenticator/FormAuthenticator.java index cf6788e..f03f1fa 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.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) ) { -- 2.11.0