|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SSLClientAuthPolicy>
org.opends.server.types.SSLClientAuthPolicy
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum SSLClientAuthPolicy
This enumeration defines a policy that indicates how the server should deal with SSL/TLS-based client connections. It is used to determine whether the server should request that clients provide their own certificates, and whether or not to accept client connections in which the client did not provide a certificate.
Enum Constant Summary | |
---|---|
DISABLED
Indicates that the server will not request a certificate from the client. |
|
OPTIONAL
Indicates that the server will request a certificate from the client but will not require that one be provided. |
|
REQUIRED
Indicates that the server will request a certificate from the client and will reject any connection attempt in which the client did not provide one. |
Method Summary | |
---|---|
static SSLClientAuthPolicy |
policyForName(java.lang.String policyName)
Retrieves the SSL client authentication policy for the specified name. |
java.lang.String |
toString()
Retrieves the human-readable name for this SSL client auth policy. |
static SSLClientAuthPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SSLClientAuthPolicy[] |
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 SSLClientAuthPolicy DISABLED
public static final SSLClientAuthPolicy OPTIONAL
public static final SSLClientAuthPolicy REQUIRED
Method Detail |
---|
public static SSLClientAuthPolicy[] values()
for (SSLClientAuthPolicy c : SSLClientAuthPolicy.values()) System.out.println(c);
public static SSLClientAuthPolicy 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 SSLClientAuthPolicy policyForName(java.lang.String policyName)
policyName
- The name of the SSL client authentication
policy to retrieve.
null
if the provided value is not the name
of a valid client authentication policy.public java.lang.String toString()
toString
in class java.lang.Enum<SSLClientAuthPolicy>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |