Java Mailing List Archive

http://www.junlu.com/

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

RE: How to get username

Shapira, Yoav

2003-12-09



Howdy,
Umm, how about request.getUserPrincipal().getName() ?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Chaikin, Yaakov Y (US SSA)
[mailto:yaakov.y.chaikin@(protected)]
>Sent: Tuesday, December 09, 2003 9:56 AM
>To: tomcat-user@(protected)
>Subject: How to get username
>
>Hi,
>
>Does anyone know how to get back the username once the person logged in
>with declarative security?
>
>Thanks.
>
>Yaakov Chaikin
>Software Engineer
>BAE SYSTEMS
>301-838-6899 (phone)
>301-838-6802 (fax)
>yaakov.y.chaikin@(protected)
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


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



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