Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Unexpected Redirect to https

Alan Halley

2003-12-18

Replies:

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
 
Any help would be appreciated.
 
Regards,
 
Alan Halley
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.