File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes 2 times login required? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "2 times login required?" Watch "2 times login required?" New topic
Author

2 times login required?

amanjot singh
Greenhorn

Joined: Jan 25, 2010
Posts: 2
Hi,
Hi I am using form based authentication in my site www.scoopthemock.co.in .But When I login It redirects me again to login page and after second login it redirects to the correct page.I am unable to understand why it requires two logins to move to correct page

The part of web.xml for form based authentication is

<login-config>
<auth-method>FORM</auth-method>
<realm-name>Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/fail_login.jsp</form-error-page>
</form-login-config>
</login-config>

Any reply is appreciated
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 2 times login required?
 
Similar Threads
login-config question
j_security_check 404 error
Redirect to the requested page failed using form-based authentication
DD entries for authentication
Form based authentication in java server faces.