This content has been marked as final.
Show 2 replies
-
1. Re: Accessing roles programatically
philc Nov 26, 2002 9:35 AM (in response to ericl)I'm looking for the exact same thing.
Did you find any information? -
2. Re: Accessing roles programatically
ericl Dec 2, 2002 5:37 PM (in response to ericl)Hi,
You can get to the Principal object from the session context. You can then get to the role information in a number of ways, the simplest / hackiest being to save the role data in a public static Map in your LoginModule, then look it up in your bean.
Hope this helps,
Eric