Package org.jivesoftware.openfire.auth
Enum Class JDBCAuthProvider.PasswordType
java.lang.Object
java.lang.Enum<JDBCAuthProvider.PasswordType>
org.jivesoftware.openfire.auth.JDBCAuthProvider.PasswordType
- All Implemented Interfaces:
Serializable
,Comparable<JDBCAuthProvider.PasswordType>
,Constable
- Enclosing class:
- JDBCAuthProvider
Indicates how the password is stored.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe password is stored as a bcrypt hash.The password is stored as a hex-encoded MD5 hash.The password is stored as an nt hash.The password is stored as plain text.The password is stored as a hex-encoded SHA-1 hash.The password is stored as a hex-encoded SHA-256 hash.The password is stored as a hex-encoded SHA-512 hash. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static JDBCAuthProvider.PasswordType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
plain
The password is stored as plain text. -
md5
The password is stored as a hex-encoded MD5 hash. -
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. -
bcrypt
The password is stored as a bcrypt hash. -
nt
The password is stored as an nt hash.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-