You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Frink, Alexander " <Al...@debeka.de> on 2006/04/05 16:58:43 UTC

problem with jsp-examples/security/protected form-based login example

Hi!

I noticed the following strange behaviour while playing with the form-based
login example under http://localhost:8080/jsp-examples/security/protected/ on a
freshly unpacked Tomcat core archive (tested with 5.0.28, 5.0.30beta and 5.5.16
under Linux and Windows with JDK 1.4.2, always identical behaviour):

open http://localhost:8080/jsp-examples/security/protected/ -> login.jsp
displayed (OK)
log in as tomcat/tomcat -> You are logged in as remote user tomcat... (OK)
log off by clicking here -> login.jsp displayed (OK)
log in in as foo/bar -> Invalid username and/or password, please try again. (OK)
click on try again -> login.jsp displayed (OK)
log in as tomcat/tomcat -> login.jsp displayed (username and password reset)
(STRANGE)
log in as tomcat/tomcat -> 404 error (VERY STRANGE)

HTTP Status 404 - /jsp-examples/security/protected/j_security_check

type Status report

message /jsp-examples/security/protected/j_security_check

description The requested resource
(/jsp-examples/security/protected/j_security_check) is not available.
Apache Tomcat/5.0.28

Could anybody please explain what is going on here? Configuration issue in
web.xml? Bug in the j_security_check servlet? Bug in the login.jsp?

Regards,

Alex
--
Alexander Frink

Debeka Hauptverwaltung
Abteilung IS/Q
Ferdinand-Sauerbruch-Str. 18
56058 Koblenz

Telefon  (0261) 498-1455
Telefax  (0261) 498-1496

E-Mail   Alexander.Frink@debeka.de
Internet www.debeka.de


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