|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CertificateValidationPolicy>
org.opends.server.extensions.CertificateValidationPolicy
public enum CertificateValidationPolicy
This class implements an enumeration that may be used to indicate if/how a client's certificate should be validated against the corresponding user entry in the Directory Server.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
static CertificateValidationPolicy |
policyForName(java.lang.String policyName)
Retrieves the certificate validation policy for the specified name. |
java.lang.String |
toString()
Retrieves the human-readable name for this certificate validation policy. |
static CertificateValidationPolicy |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CertificateValidationPolicy ALWAYS
public static final CertificateValidationPolicy NEVER
public static final CertificateValidationPolicy IFPRESENT
Method Detail |
---|
public static CertificateValidationPolicy[] values()
for (CertificateValidationPolicy c : CertificateValidationPolicy.values()) System.out.println(c);
public static CertificateValidationPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static CertificateValidationPolicy policyForName(java.lang.String policyName)
policyName
- The name of the policy to retrieve.
null
if the provided value is not the name of a valid policy.public java.lang.String toString()
toString
in class java.lang.Enum<CertificateValidationPolicy>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |