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)