public enum PasswordMode extends java.lang.Enum<PasswordMode>
SignUpConfiguration
Enum Constant and Description |
---|
MD5
The password will be stored as MD5 hash in the database.
|
PLAIN_TEXT
The password will be stored as plain text in the assigned database field.
|
Modifier and Type | Method and Description |
---|---|
static PasswordMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PasswordMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordMode PLAIN_TEXT
public static final PasswordMode MD5
public static PasswordMode[] values()
for (PasswordMode c : PasswordMode.values()) System.out.println(c);
public static PasswordMode 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