org.opends.server.admin.std.meta
Enum LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy

java.lang.Object
  extended by java.lang.Enum<LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy>
      extended by org.opends.server.admin.std.meta.LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy>
Enclosing class:
LDAPConnectionHandlerCfgDefn

public static enum LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy
extends java.lang.Enum<LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy>

Defines the set of permissable values for the "ssl-client-auth-policy" property.

Specifies the policy that the LDAP Connection Handler should use regarding client SSL certificates.

This is only applicable if clients are allowed to use SSL.


Enum Constant Summary
DISABLED
          Clients are not required to provide their own certificates when performing SSL negotiation.
OPTIONAL
          Clients are requested to provide their own certificates when performing SSL negotiation, but still accept the connection even if the client does not provide a certificate.
REQUIRED
          Clients are required to provide their own certificates when performing SSL negotiation and are refused access if the do not provide a certificate.
 
Method Summary
 java.lang.String toString()
          
static LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LDAPConnectionHandlerCfgDefn.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

DISABLED

public static final LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy DISABLED
Clients are not required to provide their own certificates when performing SSL negotiation.


OPTIONAL

public static final LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy OPTIONAL
Clients are requested to provide their own certificates when performing SSL negotiation, but still accept the connection even if the client does not provide a certificate.


REQUIRED

public static final LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy REQUIRED
Clients are required to provide their own certificates when performing SSL negotiation and are refused access if the do not provide a certificate.

Method Detail

values

public static LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy[] 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 (LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy c : LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<LDAPConnectionHandlerCfgDefn.SSLClientAuthPolicy>