Package oracle.iam.identity.usermgmt.api
Interface PasswordVerifier
public interface PasswordVerifier
The
PasswordVerifier
API exposes the methods to verify the old
password of a user.-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 verifieduserLogin
- the user login of the user whose old password is to be verifiedoldPassword
- the old password of the user to be verified- Returns:
- Throws:
PasswordVerificationException
-