Java Mailing List Archive

http://www.junlu.com/

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

[JAAS] HTTP 400 : Référence directe à la form de connexion (form login page) invalide

Vincent Delhommois

2006-02-27


Hello,
I implements successfully a JAAS authentification but an error sometimes appends :
The process is :
First I logon the application ssuccessfully (JAAS OK => LoginModule return true) => My application JSP page is weel displayed
Then I disconnect (session.invalidate())
Then I try to reconnect with a password error => Logon failed and the login page is displayed (that's normal)
Here is the problem : When I typed the correct password => Tomcat try to display my application JSP page but the following error page is displayed :

-- In french --------------------------------
Etat HTTP 400 - Référence directe à la form de connexion (form login page) invalide
type Rapport d''état
message Référence directe à la form de connexion (form login page) invalide
description La requête envoyée par le client était syntaxiquement incorrecte (Référence directe à la form de connexion (form login page) invalide).
-- In English --------------------------------
HTTP 400 - Direct reference to a login form (form login page) invalid
Request description : The sended request by the client was incorrect (syntax incorrect)
----------------------------------------------

In debug mode, the login() and commit() methods are well executed and return true.
Thanks for your help !!!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.