Set up a navigation rule that directs the user to your reactivation page from 
login (eg. based on some status):

  |     <navigation from-action="#{identity.login}">
  |             <rule if="#{identity.loggedIn && user.status == 'ACTIVE'}">
  |                     <redirect view-id="/normalHomePage.xhtml"/>
  |             </rule>
  |             <rule if="#{identity.loggedIn && user.status == 'INACTIVE'}">
  |                     <redirect view-id="/activationPage.xhtml"/>
  |             </rule>
  |     </navigation>
  | 
You would set the status in the authenticator class and outject the User bean 
(or wherever you want to store the status).

Cheers,

Damian.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109432#4109432

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109432
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to