[jboss-user] [JBoss Seam] - Seam Navigation
paulaunderwood
do-not-reply at jboss.com
Mon Oct 8 14:24:52 EDT 2007
I'm working on code to allow a password to expire. On the next login after the password expires I need to forward the user to a change password page. Right now, when a user logs in, if they are authenticated, they go to a user list page, and if they are not they are sent back to the login page.. I need to be able to send them to another page to change their password. Even though their password has expired, identity.loggedIn will still be true.. I've tried nesting another rule statement under the indentity.loggedIn and it forwards me back to my login page everytime instead of the page I specified..
Any help would be appreciated. Thanks in advance.
from my pages.xml file
| <page view-id="/login.xhtml">
| <navigation>
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/userlist.xhtml"/>
| </rule>
| </navigation>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092701#4092701
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092701
More information about the jboss-user
mailing list