2 Replies Latest reply on Oct 9, 2007 9:39 AM by paulaunderwood

    Seam Navigation

    paulaunderwood

      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>