Hi,
A bit OT question: how to get the Role/Group info only
in JASS client - I am using Tagish package but I guess
it is common.

In my login.java, I use:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 lc = new LoginContext(....);
 lc.login();
 Set p = lc.getSubject().getPrincipals();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

However, the getPrincipals() returns all the
principals associated with the Subjet, including user
name and Group in terms of Tagish implementation - I
think it is common for JAAS implementation.

Is there a way to retrieve the Group/Role names only ?

thanks !
li xin



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to