[jboss-user] [JBoss Seam] - Re: Security rules for Role in document not working..

shane.bryzak@jboss.com do-not-reply at jboss.com
Thu Jul 5 21:50:06 EDT 2007


Is the user already authenticated before you invoke addRole() in your rule?  If not, then calling addRole() simply puts the role into a temporary "holding" area until authentication is successful, at which point it becomes a "real" role which will then return true for a hasRole() check.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061086



More information about the jboss-user mailing list