Results 1 to 2 of 2

Thread: Openldap : How to compare passwords

  1. #1
    Join Date
    Dec 2011
    Posts
    3

    Default Openldap : How to compare passwords

    Hi,

    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,
    Vinu

  2. #2
    Join Date
    Dec 2011
    Posts
    14

    Default

    Did you solve this issue?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •