You can't call Identity.addRole() there, it needs to be called in your authenticator
method. Pre-authenticated roles are cleared before authentication is performed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059775#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...