This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Form based authentication fails with j_security_check in url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Form based authentication fails with j_security_check in url" Watch "Form based authentication fails with j_security_check in url" New topic
Author

Form based authentication fails with j_security_check in url

nahusha narasimha
Greenhorn

Joined: Feb 22, 2013
Posts: 6
Hi All,

I am facing an issue with form based authentication.
When I access the secured URL, I am thrown the login.html which is configured in web.xml. The login.html's form method and action is POST and j_security_check
After I enter the valid userid and password, the browser redirects to http://localhost:8080/myapp/j_security_check
Furthermore it displays the error.html that is specified in the web.xml.

BASIC is working just fine. Not sure what I'm doing wrong with FORM based.

Can someone please help.

Thanks,
Nash
 
wood burning stoves
 
subject: Form based authentication fails with j_security_check in url
 
Similar Threads
security question
Retrieving login information
JAAS logout question...
Single sign on for multiple webapps
j_security_check