This content has been marked as final.
Show 3 replies
-
1. Re: Handling Expired Password Best Practice
shane.bryzak Apr 20, 2007 10:10 PM (in response to djeverson)How about something like this?
<page view-id="/home.xhtml"> <navigation from-action="#{identity.login}"> <rule if="#{user.passwordExpired}"> <redirect view-id="/changepassword.xhtml"/> </rule> <rule if-outcome="loggedIn"> <redirect view-id="/profile.xhtml"/> </rule> </navigation> </page>
Inside your authentication method you'd need to put your user object into session scope, and it would need to have an isPasswordExpired() method or equivalent. -
2. Re: Handling Expired Password Best Practice
saeediqbal1 Apr 20, 2007 11:49 PM (in response to djeverson)shane you coming to java one? who will come from jboss seam team?
-
3. Re: Handling Expired Password Best Practice
shane.bryzak Apr 21, 2007 1:58 AM (in response to djeverson)No I'm not coming, but Gavin will be there and perhaps some of the other guys - I'm not sure exactly who plans to go.