Author: shane.bryzak(a)jboss.com
Date: 2009-05-12 20:08:24 -0400 (Tue, 12 May 2009)
New Revision: 10905
Modified:
modules/trunk/security/src/main/java/org/jboss/seam/security/RememberMe.java
Log:
fix compile errors
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
21:44:15 UTC (rev 10904)
+++
modules/trunk/security/src/main/java/org/jboss/seam/security/RememberMe.java 2009-05-13
00:08:24 UTC (rev 10905)
@@ -20,7 +20,7 @@
import org.jboss.seam.security.events.QuietLoginEvent;
import org.jboss.seam.security.management.IdentityManager;
import org.jboss.seam.security.util.Base64;
-import org.jboss.seam.view.Selector;
+import org.jboss.seam.web.ManagedCookie;
/**
* Remember-me functionality is provided by this class, in two different flavours. The
first mode
@@ -71,8 +71,8 @@
}
}
- private Selector usernameSelector;
- private Selector tokenSelector;
+ private ManagedCookie usernameSelector;
+ private ManagedCookie tokenSelector;
private TokenStore tokenStore;
@@ -80,7 +80,7 @@
private boolean enabled;
- private int cookieMaxAge = Selector.DEFAULT_MAX_AGE;
+ private int cookieMaxAge = ManagedCookie.DEFAULT_MAX_AGE;
private boolean autoLoggedIn;
@@ -148,7 +148,7 @@
@Initializer
public void create()
{
- Bean<Selector> selectorBean =
manager.resolveByType(Selector.class).iterator().next();
+ Bean<ManagedCookie> selectorBean =
manager.resolveByType(ManagedCookie.class).iterator().next();
if (mode.equals(Mode.usernameOnly))
{