public static enum SeBootstrap.Configuration.SSLClientAuthentication extends java.lang.Enum<SeBootstrap.Configuration.SSLClientAuthentication>
This policy is used in secure socket handshake to control whether the server requests client authentication, and whether successful client authentication is mandatory (i. e. connection attempt will fail for invalid clients).
Enum Constant and Description |
---|
MANDATORY
Client authentication is performed, and invalid clients are rejected.
|
NONE
Server will not request client authentication.
|
OPTIONAL
Client authentication is performed, but invalid clients are accepted.
|
Modifier and Type | Method and Description |
---|---|
static SeBootstrap.Configuration.SSLClientAuthentication |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SeBootstrap.Configuration.SSLClientAuthentication[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeBootstrap.Configuration.SSLClientAuthentication NONE
public static final SeBootstrap.Configuration.SSLClientAuthentication OPTIONAL
public static final SeBootstrap.Configuration.SSLClientAuthentication MANDATORY
public static SeBootstrap.Configuration.SSLClientAuthentication[] values()
for (SeBootstrap.Configuration.SSLClientAuthentication c : SeBootstrap.Configuration.SSLClientAuthentication.values()) System.out.println(c);
public static SeBootstrap.Configuration.SSLClientAuthentication 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 namejava.lang.NullPointerException
- if the argument is null