Enum Class PasswordEncoderProperties.PasswordEncoderTypes
java.lang.Object
java.lang.Enum<PasswordEncoderProperties.PasswordEncoderTypes>
org.apereo.cas.configuration.model.core.authentication.PasswordEncoderProperties.PasswordEncoderTypes
- All Implemented Interfaces:
Serializable
,Comparable<PasswordEncoderProperties.PasswordEncoderTypes>
,Constable
- Enclosing class:
- PasswordEncoderProperties
public static enum PasswordEncoderProperties.PasswordEncoderTypes
extends Enum<PasswordEncoderProperties.PasswordEncoderTypes>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUses the Argon2 hashing function.Uses Spring Security'sBCryptPasswordEncoder
.Uses an encoding algorithm and a char encoding algorithm.Usesorg.apereo.cas.util.crypto.GlibcCryptPasswordEncoder
.No password encoding will take place.Uses Spring Security'sPbkdf2PasswordEncoder
.Uses Spring Security'sSCryptPasswordEncoder
.Uses Spring Security'sLdapShaPasswordEncoder
.Uses Spring Security'sStandardPasswordEncoder
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARGON2
Uses the Argon2 hashing function. Users can optionally supply the length of the salt to use, and the length of the generated hash. -
NONE
No password encoding will take place. -
DEFAULT
Uses an encoding algorithm and a char encoding algorithm. -
STANDARD
Uses Spring Security'sStandardPasswordEncoder
. A standardPasswordEncoder
implementation that uses SHA-256 hashing with 1024 iterations and a random 8-byte random salt value. -
BCRYPT
Uses Spring Security'sBCryptPasswordEncoder
. -
SCRYPT
Uses Spring Security'sSCryptPasswordEncoder
. -
PBKDF2
Uses Spring Security'sPbkdf2PasswordEncoder
. -
GLIBC_CRYPT
Usesorg.apereo.cas.util.crypto.GlibcCryptPasswordEncoder
. GNU libc crypt(3) compatible hash method. -
SSHA
Uses Spring Security'sLdapShaPasswordEncoder
.
-
-
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
-