aspose file tools*
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
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
 
Don't get me started about those stupid light bulbs.
 
subject: Form based authentication fails with j_security_check in url