public interface PasswordVerifier
PasswordVerifier API exposes the methods to verify the old
password of a user.| Modifier and Type | Method and Description |
|---|---|
boolean |
isOldPasswordCorrect(java.lang.String userKey,
java.lang.String userLogin,
char[] oldPassword)
Verifies the old password of the user and returns true if the old password
is correct.
|
boolean isOldPasswordCorrect(java.lang.String userKey,
java.lang.String userLogin,
char[] oldPassword)
throws PasswordVerificationException
userKey - the userId of the user whose old password is to be verifieduserLogin - the user login of the user whose old password is to be verifiedoldPassword - the old password of the user to be verifiedPasswordVerificationException