tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cyril vidal" <>
Subject form authentication doesnt't work well
Date Mon, 24 Nov 2003 10:37:51 GMT

Perhaps the problem is well known.
I'm under Tomcat/4.1.18-LE-jdk14

When I use form authentication, with the following code snippet included in web.xml:


















when I access my servlet http://localhost:8080/servlet/chapter9.DeclarativeSecureServlet via
POST method, I have to fill the form http://localhost:8080/security/formlogin.html: that's
confrom to  the informations given in web.xml (<form-login-page>).

However, when I fill correctly this form, I have the output of doGet method of the DeclarativeSecureServlet
and not the output of doPost method as expected!!

However, all works well when I run the same example with BASIC autthentication method instead
of FORM one.

Is this bug fixed in a more recent version of Tomcat?

Thanks in advance for your response,



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message