You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Riyaz Mansoor <rm...@yahoo.com> on 2003/04/16 10:58:30 UTC

tomcat global login

hi

i'm using SingleSingOn for users to authenticate accross multiple
applications.

i can direct a user form a protected page NOT on the same context as the
login page, to the login page. however, after the login info is filled and
submitted i get the following error.


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).

----------------------------------------------------------------------------
----
Apache Tomcat/4.1.18-LE-jdk14


below is the login configuration for pages in the same context as the login
page. this configuration works fine.
    <form-login-config>
      <form-login-page>/login.jsp</form-login-page>
      <form-error-page>/error.jsp</form-error-page>
    </form-login-config>

below is the login configuration for pages NOT in the same context as the
login page. this configuration has the problem i described above.
    <form-login-config>
      <form-login-page>/../auth/login.jsp</form-login-page>
      <form-error-page>/../auth/error.jsp</form-error-page>
    </form-login-config>


how can i solve this?

please help.

riyaz


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