[seam-commits] Seam SVN: r10875 - modules/trunk/security/src/main/java/org/jboss/seam/security.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon May 11 20:18:36 EDT 2009


Author: shane.bryzak at jboss.com
Date: 2009-05-11 20:18:36 -0400 (Mon, 11 May 2009)
New Revision: 10875

Modified:
   modules/trunk/security/src/main/java/org/jboss/seam/security/RememberMe.java
Log:
uncomment enabled property

Modified: modules/trunk/security/src/main/java/org/jboss/seam/security/RememberMe.java
===================================================================
--- modules/trunk/security/src/main/java/org/jboss/seam/security/RememberMe.java	2009-05-12 00:05:21 UTC (rev 10874)
+++ modules/trunk/security/src/main/java/org/jboss/seam/security/RememberMe.java	2009-05-12 00:18:36 UTC (rev 10875)
@@ -116,9 +116,9 @@
    
    private TokenSelector tokenSelector;   
    private TokenStore tokenStore;
-      
+      */
    private boolean enabled;
-
+/*
    private int cookieMaxAge = Selector.DEFAULT_MAX_AGE;
    
    private boolean autoLoggedIn;
@@ -141,7 +141,7 @@
    public void setMode(Mode mode)
    {
       this.mode = mode;
-   }
+   }*/
    
    public boolean isEnabled()
    {
@@ -154,20 +154,20 @@
       {
          this.enabled = enabled;
          // selector is null during component initialization (setup handled in @Create method)
-         if (usernameSelector != null && mode.equals(Mode.usernameOnly))
-         {
-            usernameSelector.setCookieEnabled(enabled);
-            usernameSelector.setDirty();
-         }
+//         if (usernameSelector != null && mode.equals(Mode.usernameOnly))
+//         {
+//            usernameSelector.setCookieEnabled(enabled);
+//            usernameSelector.setDirty();
+//         }
          // selector is null during component initialization (setup handled in @Create method)
-         else if (tokenSelector != null && mode.equals(Mode.autoLogin))
-         {
-            tokenSelector.setCookieEnabled(enabled);
-            tokenSelector.setDirty();
-         }
+//         else if (tokenSelector != null && mode.equals(Mode.autoLogin))
+//         {
+//            tokenSelector.setCookieEnabled(enabled);
+//            tokenSelector.setDirty();
+//         }
       }      
    }
-
+/*
    public int getCookieMaxAge() {
        return cookieMaxAge;
    }




More information about the seam-commits mailing list