From: maxcooper Date: Mon, 26 Jan 2004 10:55:21 +0000 (+0000) Subject: fixed persistent login processing X-Git-Tag: rel-2_0-alpha1~7 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7603bcaa9e0e436997caa24700db25625a40899f;p=securityfilter.git fixed persistent login processing --- 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) ) {