Dec 27th, 2011, 08:21 AM
Openldap : How to compare passwords
I am trying to implement a change password functionality in in openldap. I want to compare the old password entered by the user against the password stored in openldap. I have got the password of the user as bytearray which is in binary. Now how I can compare this with the password entered by the user?
Note: I cannot do a ldapTemplate.authenticate() or getting a context source by LdapContextSource.getContext() method as the user password might have been expired and it would through Invalid credentials exception.
Please suggest a solution for this.
Thanks in advance,
Jan 26th, 2012, 06:06 PM
Did you solve this issue?
Tags for this Thread