Thread View: comp.lang.java.programmer
1 messages
1 total messages
Started by Edward A Thompson
Sun, 02 Mar 2003 00:54
TOMCAT4 authentication problem?
Author: Edward A Thompson
Date: Sun, 02 Mar 2003 00:54
Date: Sun, 02 Mar 2003 00:54
27 lines
1833 bytes
1833 bytes
When I access my web site at
http://ed4becky.dnsalias.org/comics/jsp/titlelist.jsp,
I get a 404 not found error.
Now, comics/jsp is a secure area, so the auth.html screen should
come up.
comics/WEB-INF/web.xml includes the following:
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Example Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/auth.html</form-login-page>
<form-error-page>/auth_error.html</form-error-page>
</form-login-config>
</login-config>
Instead I get a 'Page Cannot be Found' error. If I go right back
to http://ed4becky.dnsalias.org/comics/jsp/titlelist.jsp from the same
window, I am sent to the login screen and THEN to titlelist!!
Why am I not sent to auth.html the first time, but the scond time is
fine?
Any help?
Thanx - Ed
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads