Hi there, So I created my own little LoginModule, based on the DatabaseServerLoginModule supplied by JBoss. All works fine and the login succeeds and fails when expected. In the loginmodule I add several groups of principals to the subject. I have a group called Roles, and 2 other groups. I use the Roles group to make sure an authenticated user can't see certain webpages. Our security system is based on Siebel, where they use Positions and Responsibilities for application data specific security, so I add these groups and fill them accordingly.
Now, in a bean I can access the context and ask for the CallerPrincipal, doing a getName() on that principal gives me the username. An isUserInRole(roleName) gives me some information about the Roles group. But how can I access the other groups I created in the loginmodule? (I need those for some application specific security handling) <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827026#3827026">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827026>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user