[jboss-user] [JBoss Seam] - Re: identity.hasRole problem

sradford do-not-reply at jboss.com
Mon May 14 09:45:12 EDT 2007

Until the authenticate() method completes and the login process itself completes the user's roles are not assigned. Any that you add by calling Identity.addRole() are added to a temporary store and only added to the user's actual list of roles when the login process is 'committed'.

As an aside. why do you have 'new String("some string")' in all your code?

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

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

More information about the jboss-user mailing list