You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Ramu, Vinod" <X2...@southernco.com> on 2005/04/20 16:16:36 UTC

To find user name

Hi All,

Could any one of you please let me know how to get the username?

For example, let's assume that I use BASIC authentication to authorize
the users of my site and I have a user who has logged in successfully.
During the coarse of this user's session, if I need to know the username
with which he logged in then what should I do?

Is it stored in the session object?
Or should we build a customized code such as a ServletFilter to trap the
username/password?

Any suggestions will be of great help to me.

Thanks,
VinodRamu

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org