I use JSF 2 deployed on Liberty 22.0.0.6 server.
My FORM based authentication is against LDAP using j_security_check. It is working and my user can log in/authenticate and get LTPA2 token back. And logout functionality works as well.
However, I notice the following
- user logs in successfully
- user logs out and is sent back to log in page - as expected
- If user attempts to log in with incorrect password, she is asked to go back to login page and provide correct credentials - as expected
- Repeat step 3
- Repeat step 3. On 3rd invalid attempt, LDAP locks the user account for 30 min
- User attempts to log in again before LDAP unlocks account, this time with correct credentials, and succeeds - THIS SHOULD NOT HAPPEN
I would expect that in step 6, user should not be allowed to log in even though she provided correct credentials, because LDAP has locked the account for 30 min in step 5.
Being new to Liberty server and JSF, I'm having difficulties understanding this. Is LTPA token being casheed somewhere and how to find that out?
Based on my reading, I think that the caching is happening in Liberty server, not in JSF app.