On Tue, 11 Dec 2001, Edwin Eversdijk wrote:

> Date: Tue, 11 Dec 2001 15:27:02 +0100
> From: Edwin Eversdijk <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: how to get the authenticated username?
>
> Hi,
>
> I use the form based authentication of tomcat for my application. Now
> i want my application to see which user is logged in... Can i somehow
> get the name of the logged in user (j_username or something)????
>

Call request.getRemoteUser().

> Regards,
>
> Edwin Eversdijk
>

Craig McClanahan


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to