[jboss-user] [JBoss Seam] - Re: Instance.hasRole()...

garypinkham do-not-reply at jboss.com
Mon Jul 9 09:27:12 EDT 2007


"shane.bryzak at jboss.com" wrote : Calling addRole() when you are not authenticated yet puts the roles into a temporary list.  They only become real roles once authentication is complete, which is why calling hasRole() in the authenticator method returns false.

That explains it!   I did the log messages in another action and see that the user is indeed in the appropriate roles.     

Thanks!

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

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



More information about the jboss-user mailing list