Java Mailing List Archive

http://www.junlu.com/

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

RE: How to get username

Wilson, Allen

2003-12-09


You can use rundata.getUser().getUserName();

This will return user's login name

Allen

-----Original Message-----
From: Chaikin, Yaakov Y (US SSA)
[mailto:yaakov.y.chaikin@(protected)]
Sent: Tuesday, December 09, 2003 8: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 message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


---------------------------------------------------------------------
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.