[thelist] LOGON_USER in JSP

david.landy at somerfield.co.uk david.landy at somerfield.co.uk
Mon Feb 9 02:54:11 CST 2004

Thanks Hassan. I've tried using request.getRemoteUser() in my JSP script but
it returns null. Is there some setting on my Tomcat server I need to turn
on, or some other switch?

David Landy, IT Consultant
Business Intelligence
+44 (0) 117-301-8977
david.landy at somerfield.co.uk <mailto:david.landy at somerfield.co.uk>    

-----Original Message-----
From: Hassan Schroeder [mailto:hassan at webtuitive.com]
Sent: Friday, 06 February 2004 16:03
To: thelist at lists.evolt.org
Subject: Re: [thelist] LOGON_USER in JSP

david.landy at somerfield.co.uk wrote:

> Can anyone tell me if there's a way to discover who the logged-on user is
> a JSP page?

I don't know anything about ASP for comparison, but see the JavaDoc
for javax.servlet.http.HttpServletRequest -- getRemoteUser() is what
you're probably looking for...

Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 
If you are not the intended recipient of this e-mail, please preserve the
confidentiality of it and advise the sender immediately of any error in
transmission. Any disclosure, copying, distribution or action taken, or
omitted to be taken, by an unauthorised recipient in reliance upon the
contents of this e-mail is prohibited. Somerfield cannot accept liability
for any damage which you may sustain as a result of software viruses so
please carry out your own virus checks before opening an attachment. In
replying to this e-mail you are granting the right for that reply to be
forwarded to any other individual within the business and also to be read by
others. Any views expressed by an individual within this message do not
necessarily reflect the views of Somerfield.  Somerfield reserves the right
to intercept, monitor and record communications for lawful business

More information about the thelist mailing list