tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kilbride" <j...@kilbride.com>
Subject Re: Difficult question Urgent!!!
Date Thu, 17 May 2001 18:47:06 GMT
How about the getRemoteUser() method of the request object?

--jeff

----- Original Message -----
From: "mohamed imdadullah" <imdad_md@hotmail.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, May 17, 2001 4:17 PM
Subject: Difficult question Urgent!!!


>
> Hhi all,
>
> I have Tomcat running under apache, i have been able to have same
> authentication for both apache (serving perl) and tomcat(serving jsp).
>
> The problem is , after authenticating user in jsp, i need to get the user
> name of the person who has logged in to make further queries with the
> database.
>
> I dunno how it is done, i dont even know whether it could could be
retrieved
> from the http session.
>
> iam pretty sure that the user name can be extracted as the apache
maintains
> a different session for the perl part and another for the jsp part
>
> any ideas would be appreciated
>
> regards
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>


Mime
View raw message