[jboss-user] [Security & JAAS/JBoss] - Re: Sending Principal back to Client?

piotr.koper do-not-reply at jboss.com
Fri Jun 13 05:20:53 EDT 2008


Hi.

As much as I know - You can't. SecurityAssociation is only container for credentials. But, in your ServerLoginModule You have method getIdentity() which return logged principal. 

On client side try to get this info from LoginContext, with method getSubject().

koper

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157901#4157901

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157901



More information about the jboss-user mailing list