Enum HttpConnectionHandlerCfgDefn.SslClientAuthPolicy
- java.lang.Object
-
- java.lang.Enum<HttpConnectionHandlerCfgDefn.SslClientAuthPolicy>
-
- org.forgerock.opendj.server.config.meta.HttpConnectionHandlerCfgDefn.SslClientAuthPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<HttpConnectionHandlerCfgDefn.SslClientAuthPolicy>
- Enclosing class:
- HttpConnectionHandlerCfgDefn
public static enum HttpConnectionHandlerCfgDefn.SslClientAuthPolicy extends Enum<HttpConnectionHandlerCfgDefn.SslClientAuthPolicy>
Defines the set of permissible values for the "ssl-client-auth-policy" property.Specifies the policy that the HTTP Connection Handler should use regarding client SSL certificates. Clients can use the SASL EXTERNAL mechanism only if the policy is set to "optional" or "required".
This is only applicable if clients are allowed to use SSL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
Clients must not provide their own certificates when performing SSL negotiation.OPTIONAL
Clients are requested to provide their own certificates when performing SSL negotiation.REQUIRED
Clients are required to provide their own certificates when performing SSL negotiation and are refused access if they do not provide a certificate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static HttpConnectionHandlerCfgDefn.SslClientAuthPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpConnectionHandlerCfgDefn.SslClientAuthPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final HttpConnectionHandlerCfgDefn.SslClientAuthPolicy DISABLED
Clients must not provide their own certificates when performing SSL negotiation.
-
OPTIONAL
public static final HttpConnectionHandlerCfgDefn.SslClientAuthPolicy OPTIONAL
Clients are requested to provide their own certificates when performing SSL negotiation. The connection is nevertheless accepted if the client does not provide a certificate.
-
REQUIRED
public static final HttpConnectionHandlerCfgDefn.SslClientAuthPolicy REQUIRED
Clients are required to provide their own certificates when performing SSL negotiation and are refused access if they do not provide a certificate.
-
-
Method Detail
-
values
public static HttpConnectionHandlerCfgDefn.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 (HttpConnectionHandlerCfgDefn.SslClientAuthPolicy c : HttpConnectionHandlerCfgDefn.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 HttpConnectionHandlerCfgDefn.SslClientAuthPolicy 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<HttpConnectionHandlerCfgDefn.SslClientAuthPolicy>
-
-