public static enum JDBCAuthProvider.PasswordType extends Enum<JDBCAuthProvider.PasswordType>
Enum Constant and Description |
---|
md5
The password is stored as a hex-encoded MD5 hash.
|
plain
The password is stored as plain text.
|
sha1
The password is stored as a hex-encoded SHA-1 hash.
|
sha256
The password is stored as a hex-encoded SHA-256 hash.
|
sha512
The password is stored as a hex-encoded SHA-512 hash.
|
Modifier and Type | Method and Description |
---|---|
static JDBCAuthProvider.PasswordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JDBCAuthProvider.PasswordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JDBCAuthProvider.PasswordType plain
public static final JDBCAuthProvider.PasswordType md5
public static final JDBCAuthProvider.PasswordType sha1
public static final JDBCAuthProvider.PasswordType sha256
public static final JDBCAuthProvider.PasswordType sha512
public static JDBCAuthProvider.PasswordType[] values()
for (JDBCAuthProvider.PasswordType c : JDBCAuthProvider.PasswordType.values()) System.out.println(c);
public static JDBCAuthProvider.PasswordType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2003-2008 Jive Software.