Re: Difficult question Urgent!!!

2001-05-17 Thread Jeff Kilbride

How about the getRemoteUser() method of the request object?

--jeff

- Original Message -
From: "mohamed imdadullah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.
>




RE: Difficult question Urgent!!!

2001-05-17 Thread William Kaufman

javax.servlet.http.HttpServletRequest.getRemoteUser().

-- Bill K.


> -Original Message-
> From: mohamed imdadullah [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 9:17 AM
> To: [EMAIL PROTECTED]
> 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.