Enum ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy
- java.lang.Object
-
- java.lang.Enum<ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy>
-
- org.forgerock.opendj.server.config.meta.ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy>
- Enclosing class:
- ExternalSaslMechanismHandlerCfgDefn
public static enum ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy extends Enum<ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy>
Defines the set of permissible values for the "certificate-validation-policy" property.Indicates whether to attempt to validate the peer certificate against a certificate held in the user's entry.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
Always require the peer certificate to be present in the user's entry.IFPRESENT
If the user's entry contains one or more certificates, require that one of them match the peer certificate.NEVER
Do not look for the peer certificate to be present in the user's entry.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy ALWAYS
Always require the peer certificate to be present in the user's entry.
-
IFPRESENT
public static final ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy IFPRESENT
If the user's entry contains one or more certificates, require that one of them match the peer certificate.
-
NEVER
public static final ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy NEVER
Do not look for the peer certificate to be present in the user's entry.
-
-
Method Detail
-
values
public static ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy[] 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 (ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy c : ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<ExternalSaslMechanismHandlerCfgDefn.CertificateValidationPolicy>
-
-