public enum CertificateValidationPolicy extends Enum<CertificateValidationPolicy>
Enum Constant and Description |
---|
ALWAYS
Indicates that the server should always attempt to validate the client
certificate against the version in the corresponding user's entry.
|
IFPRESENT
Indicates that the server should attempt to validate the client certificate
against the version in the corresponding user's entry if there are any
certificates in that user's entry.
|
NEVER
Indicates that the server should not attempt to validate the client
certificate against the version in the corresponding user's entry.
|
Modifier and Type | Method and Description |
---|---|
static CertificateValidationPolicy |
policyForName(String policyName)
Retrieves the certificate validation policy for the specified name.
|
String |
toString()
Retrieves the human-readable name for this certificate validation policy.
|
static CertificateValidationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateValidationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateValidationPolicy ALWAYS
public static final CertificateValidationPolicy NEVER
public static final CertificateValidationPolicy IFPRESENT
public static CertificateValidationPolicy[] values()
for (CertificateValidationPolicy c : CertificateValidationPolicy.values()) System.out.println(c);
public static CertificateValidationPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CertificateValidationPolicy policyForName(String policyName)
policyName
- The name of the policy to retrieve.null
if the provided value is not the name of a valid policy.public String toString()
toString
in class Enum<CertificateValidationPolicy>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.