[jboss-user] [JBoss Seam] - Re: Security Design Question

2007-11-30 Thread damianharvey
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


[jboss-user] [JBoss Seam] - Re: Security Design Question

2007-11-30 Thread javalover75
Damian,

Thanks for the quick reply.  It is appreciated.  This helped me get past my 
mind block and solve my problem.

Thanks Again.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109470#4109470

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109470
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user