1 Reply Latest reply on Dec 4, 2005 12:01 PM by starksm64

    How to get username using DatabaseServerLoginModule

    kevinlam

      Hi all,

      I have configured my web app to use DatabaseServerLoginModule, it works fine so far, but I also need to make sure that after 3 failed attempts, the user will be set to password locked state.

      I am currently using a form with j_security_check action and j_username and j_password. On sucessful login, i can access the principals, but I also want to get the username from the form when the user failed the login... I tried request.getParameter("j_username" in the error page but with no luck...

      Could anyone tell me how to get the username so that I can update the user status in the database, many thx

      Kevin