Enum CredentialsStorageTypeType
- java.lang.Object
-
- java.lang.Enum<CredentialsStorageTypeType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialsStorageTypeType
-
- All Implemented Interfaces:
Serializable
,Comparable<CredentialsStorageTypeType>
public enum CredentialsStorageTypeType extends Enum<CredentialsStorageTypeType>
Java class for CredentialsStorageTypeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CredentialsStorageTypeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="encryption"/> <enumeration value="hashing"/> <enumeration value="none"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENCRYPTION
Credential will be stored in an encrypted form.HASHING
Credential will be stored in a hashed form.NONE
MidPoint will not store the credential at all.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialsStorageTypeType
fromValue(String v)
String
value()
static CredentialsStorageTypeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CredentialsStorageTypeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENCRYPTION
public static final CredentialsStorageTypeType ENCRYPTION
Credential will be stored in an encrypted form. This is a symmetric (reversible) encryption. MidPoint will be able to get a cleartext form of the credential if needed.
-
HASHING
public static final CredentialsStorageTypeType HASHING
Credential will be stored in a hashed form. One-way (irreversible) cryptographic hash or key derivation function will be used to transform the credential before storage. MidPoint will NOT be able to get a cleartext form of the credential, but it can still compare credential values.
-
NONE
public static final CredentialsStorageTypeType NONE
MidPoint will not store the credential at all. MidPoint will only work with credential in the memory while it is needed to complete current operation. The credential will be discarded after the operation. THIS IS ONLY PARTIALLY SUPPORTED MidPoint should be able not to store the credentials when this setting is used. But there may be side effects that are not completely addressed yet. This is not entirely tested and not supported. Use at your own risk.
-
-
Method Detail
-
values
public static CredentialsStorageTypeType[] 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 (CredentialsStorageTypeType c : CredentialsStorageTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CredentialsStorageTypeType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static CredentialsStorageTypeType fromValue(String v)
-
-