I am running Tomcat 4.0.1 connected to Apache 1.3.23 via mod_webapp 1.0
on a Redhat 7.2 system.

Directory 'a' is protected using Basic Apache authentication:

/htdocs/a

Directory 'b' is where my servlets are deployed via webapp:

/htdocs/b

I want to allow anyone access to 'b', but inside a servlet in 'b'
I want to test to see if they authenticated themselves in 'a'.
Is there a way to do this?


So far, I have only been able to do this using:

String auth = request.getHeader("Authorization");

IFF 'b' is under 'a' like this:

/htdocs/a/b

--
Wes Barris
E-Mail: [EMAIL PROTECTED]
Phone: 07-3346-2504

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to