Enum CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters
- java.lang.Object
-
- java.lang.Enum<CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters>
-
- org.apereo.cas.configuration.support.CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters>
- Enclosing class:
- CasConfigurationJasyptCipherExecutor
public static enum CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters extends java.lang.Enum<CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters>
The Jasypt encryption parameters.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALGORITHM
Jasypt algorithm name to use.INITIALIZATION_VECTOR
Use (or not) a Jasypt Initialization Vector.ITERATIONS
Jasypt number of iterations to use.PASSWORD
Jasypt password to use for encryption and decryption.PROVIDER
Jasypt provider name to use.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALGORITHM
public static final CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters ALGORITHM
Jasypt algorithm name to use.
-
PROVIDER
public static final CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters PROVIDER
Jasypt provider name to use. None for Java,BC
for BouncyCastle.
-
ITERATIONS
public static final CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters ITERATIONS
Jasypt number of iterations to use.
-
PASSWORD
public static final CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters PASSWORD
Jasypt password to use for encryption and decryption.
-
INITIALIZATION_VECTOR
public static final CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters INITIALIZATION_VECTOR
Use (or not) a Jasypt Initialization Vector.
-
-
Method Detail
-
values
public static CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters c : CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CasConfigurationJasyptCipherExecutor.JasyptEncryptionParameters valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-