public enum ForgotPasswordMode extends java.lang.Enum<ForgotPasswordMode>
| Enum Constant and Description |
|---|
DISABLED
Password recovery is disabled
|
EMAIL
Password recovery is allowed by a link sent via e-mail and requests captcha
|
EMAIL_SECURITY_QUESTION
Password recovery is allowed by a link sent via e-mail, with security question and requests captcha
|
EMAIL_WITHOUT_CAPTCHA
Password recovery is allowed by a link sent via e-mail without requesting captcha
|
| Modifier and Type | Method and Description |
|---|---|
static ForgotPasswordMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ForgotPasswordMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForgotPasswordMode DISABLED
public static final ForgotPasswordMode EMAIL
public static final ForgotPasswordMode EMAIL_WITHOUT_CAPTCHA
public static final ForgotPasswordMode EMAIL_SECURITY_QUESTION
public static ForgotPasswordMode[] values()
for (ForgotPasswordMode c : ForgotPasswordMode.values()) System.out.println(c);
public static ForgotPasswordMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null