-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hi Mark,
It is possible in apache server you can use "LocationMatch" directive in
access.conf file there is sample code .
<LocationMatch "URL to Match">
order deny,allow
allow from hostname1 hostname2
AuthType Basic
AuthUserFile /path/to/passwordfile
AuthName "Admin"
<Limit POST GET PUT>
require user username1 username2
</Limit>
</LocationMatch>
----- Original Message -----
From: Mark E. Ashton <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 1999 11:01 PM
Subject: user authentication and servlets
>-----------------------------
>Please read the FAQ!
><http://java.apache.org/faq/>
>-----------------------------
>
>I've been trying to figure out if apache is capable of doing this, and I've
>been unable to find anything in the documentation on apache.org. Basically,
I
>need to be able to have apache perform user authentication as normal, but
then
>invoke a servlet with the username and password as part of the
>HttpServletRequest. The servlet would then store some pertinent information
in
>the current HttpSession object. If the HttpSession expires, apache should
ask
>the user to login again. Is this possible? I've seen similar functionality
in
>sun's webaccess (for e-mail, not the personal webaccess browser) product.
Any
>ideas or pointers would be greatly appreciated. Thanks!
>
>-Mark
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html/>
>Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]