Gibu George
asked on
JAAS authentication on JBoss giving HTTP Status 408 error on logging in
I am working on adding JAAS authentication for our enterprise web application which is deployed on JBoss 4.2.2. We are using our own custom LoginModule and custom principal. Have made the code changes required, but the problem is after logging in, it shows
HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
type Status report
message The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser
description The client did not produce a request within the time that the server was prepared to wait (The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser).
The JAAS authentication is working fine and login is success after that only the above error is shown. Googled a lot and found that this issue is reported by many people, but one solution I was able to find was that to change the privacy setting for IE to accept cookies. But this also didn't work for me. Pls help
Thx. in advance
Gibu
HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser
--------------------------
type Status report
message The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser
description The client did not produce a request within the time that the server was prepared to wait (The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser).
The JAAS authentication is working fine and login is success after that only the above error is shown. Googled a lot and found that this issue is reported by many people, but one solution I was able to find was that to change the privacy setting for IE to accept cookies. But this also didn't work for me. Pls help
Thx. in advance
Gibu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is not the solution that I was looking for
1) Change the Authentication type in your deployment descriptor from basic to form based.
2) Implement and use login form in jsp
3) If it is working that way then it is definitly a client issue (Try switch browsers or settings).
A login form and the chanes in web.xml are listed here:
Open in new window