See http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859817
The isCallerInRole on the EJBContext object can be used to test user roles, and the isUserInRole on the HttpServletRequest can be used to do the same in a servlet context. There is no standard J2EE way to get the list of role of a user. Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859933#3859933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859933 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user