It should just work. The subject is passed in the LoginContext when you authenticate with Identity.login(), and as long as your login module conforms to the standard of placing roles inside a group called "Roles" then any roles granted by the login module will be reflected by Identity.hasRole().
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108726#4108726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108726 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
