[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Gavin King
gavin.king at jboss.com
Wed Feb 21 22:57:12 EST 2007
User: gavin
Date: 07/02/21 22:57:12
Modified: src/main/org/jboss/seam/security Identity.java
Log:
make always-on rememberme work
Revision Changes Path
1.67 +3 -2 jboss-seam/src/main/org/jboss/seam/security/Identity.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Identity.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Identity.java,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- Identity.java 19 Feb 2007 02:01:15 -0000 1.66
+++ Identity.java 22 Feb 2007 03:57:12 -0000 1.67
@@ -83,14 +83,15 @@
private void initCredentialsFromCookie()
{
+ boolean cookie = isCookieEnabled();
setCookieEnabled(true);
username = getCookieValue();
- setDirty();
- setCookieEnabled(false);
+ setCookieEnabled(cookie);
if (username!=null)
{
postRememberMe();
}
+ setDirty();
}
protected void postRememberMe()
More information about the jboss-cvs-commits
mailing list