Password change LDAP Module , can still use the old password
Hi,
We have a password reset process and we are using ldap login module. When we reset the password for the user, the user can still use old and new password for a while. I change the user's password in ldap and then change the password in CQ as well.
In an event when the password is compromised we would like to see the password being updated immediately for the user and they shouldn't be able to use the old password again.
I change the password in Active directory and then call org.apache.jackrabbit.api.security.user.User.changePassword method. I can see that rep:password property of the user isn't updated.
The cache settings in ldap_login.conf file are:
cache.expiration="21600"
cache.maxsize="50000"
Any help will be appreciated.
Thanks in advance.