[jboss-user] [Installation, Configuration & DEPLOYMENT] - form authentication not working properly on Jboss 5 GA

shalley.singh do-not-reply at jboss.com
Thu Jul 2 11:16:53 EDT 2009

hi all,
i am using jBoss 5 to deploy a web app which was originally deployed and successfully running on ORACLE app server.
i have updated following files in jboss

form based authentication has been used on struts 1.x platform with j_security_check and tiles integrated.
now the problem is :
1.If first time i login with right UserName/Password than login is successful(obviously).
2.If first time i login with wrong UserName/Password than login is UNsuccessful(obviously).
3.when first time login is UNsuccessful, than consecutive logins are failed even with right loginID/Pwd.
4. when first time login was failed , URL changed to http://localhost:8080/myApp/login.do?failed=true.
5.when first time login was failed, and than i do second time login with right UID/PWD than URL remains the same and no login is done.
6.when first time login was failed, and than i do second time login with right UID/PWD while URL is changed (manually by me) to http://localhost:8080/myApp/login.do ..than login is successful.

database is hitting it is obvious because first time login is always successful if right UID/PWD were used.

this problem does not appear on ORACLE app Server..

please suggest any solution.
Thanks & Regards 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241527#4241527

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241527

More information about the jboss-user mailing list