[seam-commits] Seam SVN: r9287 - trunk.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Oct 13 19:14:34 EDT 2008
Author: shane.bryzak at jboss.com
Date: 2008-10-13 19:14:34 -0400 (Mon, 13 Oct 2008)
New Revision: 9287
Modified:
trunk/seam21migration.txt
Log:
JBSEAM-3549
Modified: trunk/seam21migration.txt
===================================================================
--- trunk/seam21migration.txt 2008-10-13 22:46:22 UTC (rev 9286)
+++ trunk/seam21migration.txt 2008-10-13 23:14:34 UTC (rev 9287)
@@ -90,6 +90,18 @@
have been set. Instead, it will simply return true if the user is currently authenticated. If you
require the previous behaviour, then please use Identity.tryLogin() instead.
+If you are using the token-based "Remember Me" feature of Seam Security, you will need to add the following
+section to components.xml to ensure that the user is automatically logged in when first accessing the
+application:
+
+ <event type="org.jboss.seam.security.notLoggedIn">
+ <action execute="#{redirect.captureCurrentView}"/>
+ <action execute="#{identity.tryLogin()}"/>
+ </event>
+ <event type="org.jboss.seam.security.loginSuccessful">
+ <action execute="#{redirect.returnToCapturedView}"/>
+ </event>
+
PDF (iText)
--------
More information about the seam-commits
mailing list