On 12/18/2003 12:20 PM Alan Halley wrote:
Hi,

I'm using Tomcat 4.1.29 on XP Home. I trying to configure Form based authentication with a DataSource based Realm. I've followed the server and web.xml given in the examples supplied with Tomcat.

When I try to access my protected index.jsp the request gets redirected to the https port, as follows:

Authenticator[/FlatMate]: Security checking request GET /FlatMate/jsp/index.jsp
Authenticator[/FlatMate]:   Checking constraint 'SecurityConstraint[Protected Area]' 
against GET /jsp/index.jsp --> true
Authenticator[/FlatMate]:  Subject to constraint SecurityConstraint[Protected Area]
Authenticator[/FlatMate]:  Calling checkUserData()
Authenticator[/FlatMate]:   Redirecting to 
https://localhost:8443/FlatMate/jsp/index.jsp
Authenticator[/FlatMate]:  Failed checkUserData() test

Hi Alan,
it's impossible to say what's going on without seeing the security-constraints xml. Post it here and maybe someone can help.


Adam
--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to