Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

How to retrieve an user Principal?

Tremal Nailk

2006-03-16

Replies:

Hello,
how can i retrieve an user principal?

I don't want to get it from the request, but directly from the
underlying security framework.

My application, when developed in Jboss, uses an instruction like the following:

org.jboss.security.SecurityAssociation.getPrincipal();

Is there something similar in Tomcat? May you please point me to the
correct resource (documentation, web page)?

Thanks
--
TREMALNAIK

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.