You cannot as part of the standard EJB api. You can only ask if a user
has a role.

You can see the roles the current user has if you access the JaasSecurityManager
from JNDI and get the active Subject. This is a JBoss specfic mechanism.

----- Original Message ----- 
From: "Lewis Henderson" <[EMAIL PROTECTED]>
To: "JBoss User (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, June 01, 2001 7:20 AM
Subject: [JBoss-user] :-| Security Roles


> Is it possible to retrieve the Roles that someone is a member of from JAAS?
> 
> Mainly this will be an EJB finding out what Roles the current Principal
> has...
> 
> 
> Regards
> 
> Lewis
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to