>>> Tsao Su Jen <[EMAIL PROTECTED]> 07-Jul-00 3:57:07 AM >>>
>I asked a related question about half a yr back.
>>Is it possible to for a servlet to change/set some properties
>>of the request (e.g. remote user ) so that information can be
>>logged in the standard web server logs?
I remember that question - I didn't answer it because I didn't
understand it.
Why do you need to change some properties in order to log stuff?
>It's about setting request attributes from a servlet so that it
>would be available to the web server for
>subsequent use, e.g. logging in the standard webserver log.
But a simple examination of the call path from browser to servlet
will tell you that what you asked is impossible.
It doesn't make any sense.
>I just thought it was probably not possible for a servlet to do
that.
>Though I would appreciate other suggestions of any other ways to
>pass user authentication info reliably to webserver log.
User authentication is a difrernet matter. Read the archives of this
list where I (and others) have explained it several times.
Check out:
http://www.tapsellferrier.co.uk/Servlets/FAQ/Authentication.html
which is referenced several times in the archives and explains how it
works.
>When I read Nic's posting, I went through postings
>that match 'authentication', 'environment', etc.
>When I read Milt's, I went through the 80+ matches
>to 'remote user' too. But I still don't find an answer to
>Ed's or my question. Most postings were about *getting*
>user authentication info from a servlet.
As opposed to what? What is it that you want to do?
Just saying "can I set some properties of the request? (eg: remote
user)" doesn't make any sense.
Reading the posts on authentication surely explains that?
Nic
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html