public static final class SignUpConfiguration.PasswordRecovery
extends java.lang.Object
The password recovery requires the client's name and returns either the old password from the database or generates a new one, based on how is configured the mode parameter.
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
allowedRecoveryFields
Allows to specify which field in the DB should be used for password recovery.
|
SignUpConfiguration.EmailConfig |
email
The email configuration
|
boolean |
isActive
Turs on/off the Password Recovery
|
RecoveryMode |
mode
Specify the mode in which the Password Recovery service works
SEND_OLD: sends the old password back
GENERATE_NEW: generates a new password
|
boolean |
useCaseSensitiveNameCheck
Validates the user name using a case-sensitive string comparison
|
Constructor and Description |
---|
PasswordRecovery() |
public boolean isActive
public boolean useCaseSensitiveNameCheck
public java.util.List<java.lang.String> allowedRecoveryFields
Default: null. In this case the match is allowed only for the user name field.
public RecoveryMode mode
public SignUpConfiguration.EmailConfig email
SignUpConfiguration.EmailConfig