Interface PasswordVerifier


public interface PasswordVerifier
The PasswordVerifier API exposes the methods to verify the old password of a user.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isOldPasswordCorrect(String userKey, String userLogin, char[] oldPassword)
    Verifies the old password of the user and returns true if the old password is correct.
  • Method Details

    • isOldPasswordCorrect

      boolean isOldPasswordCorrect(String userKey, String userLogin, char[] oldPassword) throws PasswordVerificationException
      Verifies the old password of the user and returns true if the old password is correct.
      Parameters:
      userKey - the userId of the user whose old password is to be verified
      userLogin - the user login of the user whose old password is to be verified
      oldPassword - the old password of the user to be verified
      Returns:
      Throws:
      PasswordVerificationException