tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Geery <Geery.And...@doc.state.sc.us>
Subject RE: Tomcat Realm Example Problems
Date Wed, 20 Nov 2002 17:53:10 GMT
This error means that you directly referenced the login page. This is an
annoyance with Tomcat security realms: you get authenticated, but since you
weren't going anywhere in the realm, you get the HTTP Status 400 error.
Rather than accessing the login page, simply access any page that is
protected by the realm. Tomcat will bounce you to the login page and,
following successful authentication, will bounce you to the page you were
originally trying to access.

Andrew

-----Original Message-----
From: Brown, Melonie S. - Contractor
[mailto:Melonie.Brown@forscom.army.mil]
Sent: Wednesday, November 20, 2002 12:04 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat Realm Example Problems


Running Tomcat 4.1.12 on Windows 2K...

I try running the jsp security realm example and get the following error
after logging in:

HTTP Status 400 - Invalid direct reference to form login page
type Status report
message Invalid direct reference to form login page
description The request sent by the client was syntactically incorrect
(Invalid direct reference to form login page).

Any suggestions?  This is from the example code provided.  I have made no
changes.

Melonie Brown



--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message