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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Form based authentication fails with j_security_check in url
 
Similar Threads
j_security_check
security question
Single sign on for multiple webapps
JAAS logout question...
Retrieving login information