Skip navigation links


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
 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.

 

Method Detail

isOldPasswordCorrect

boolean isOldPasswordCorrect(java.lang.String userKey,
                             java.lang.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

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.