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=bbop=viewtopicp=4109432#4109432
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109432
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user