validatePasswordAgainstDefaultPolicy(char[] password, User user, java.util.Locale locale)
Validates the password of a new user against the default policy
Used in following scenarios Self Registration Creation of user by Delegated Admin

validatePasswordAgainstPolicy(char[] password, java.lang.String userID, java.util.Locale locale)
Validates the given password against the applicable Password Policy
Used in following scenarios Validating the password entered by the user while changing his/her password Validating the password entered by a delegated admin while changing the password of the user

validatePasswordAgainstPolicy(char[] password, User user, java.util.Locale locale)
Validates the password of a new user against the applicable policy
Used in following scenarios Self Registration Creation of user by Delegated Admin

Method Detail

resetPassword

void resetPassword(java.lang.String userID)

Resets the password of an user to a randomly generated password. As part of the password reset, a notification is sent to the user regarding the new password
NOTE: The email attribute of the user must be set for reset password to work

Parameters:

userID - the userID of the user whose password is to be reset.

resetPassword

void resetPassword(java.lang.String userID,
java.util.Map controls)

Resets the password of an user to a randomly generated password. As part of the password reset, a notification is sent to the user regarding the new password. It takes a Map of control parameters to perform additional operation along with reset pasword.
NOTE: The email attribute of the user must be set for reset password to work

Parameters:

userID - the userID of the user whose password is to be reset.

controls - This Map contains control parameters used for performing additional opreration along with reset password.
Supported Control Parameters: