Thanks guys......life is so easy :-)

-----Original Message-----
From: Darren Govoni [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 20, 2005 10:23 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: To find user name


request.getRemoteUser();

>----- ------- Original Message ------- -----
>From: "Ramu, Vinod" <[EMAIL PROTECTED]>
>To: <tomcat-user@jakarta.apache.org>
>Sent: Wed, 20 Apr 2005 10:16:36
>
>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: [EMAIL PROTECTED]
>For additional commands, e-mail:
>[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to