users@glassfish.java.net

How to list all user roles?

From: <glassfish_at_javadesktop.org>
Date: Fri, 23 May 2008 06:16:53 PDT

Hello!

In a session bean I would like to list all roles assigned to the current user.
I can get the user (principal) by calling EjbContext.getCallerPrincipal(), but how can I list the roles assigned to it?

Thanks in advance!
Regards:
Norbi
[Message sent by forum member 'snorbicet' (snorbicet)]

http://forums.java.net/jive/thread.jspa?messageID=276289