Hi. I configure my tomcat 4.1.18 to managed JRealm security. here is my server.xml configuration
When I run the protected example and login as an user without the role, send me next 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).
This is my web.xml restrictions
I call in my login page <form method="POST" action='<%= response.encodeURL("j_security_check") %>' > How can I validate or managed this exceptions?
posted 13 years ago
The same problem persists with new tomcat versions. Somebody know how to fix that?