public static enum ServerSecurityConfigurator.ClientAuth extends java.lang.Enum<ServerSecurityConfigurator.ClientAuth>
SSLEngine
with respect to client authentication.Enum Constant and Description |
---|
NONE
Indicates that the
SSLEngine will not request client authentication. |
OPTIONAL
Indicates that the
SSLEngine will request client authentication. |
REQUIRE
Indicates that the
SSLEngine will require client authentication. |
Modifier and Type | Method and Description |
---|---|
static ServerSecurityConfigurator.ClientAuth |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerSecurityConfigurator.ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerSecurityConfigurator.ClientAuth NONE
SSLEngine
will not request client authentication.public static final ServerSecurityConfigurator.ClientAuth OPTIONAL
SSLEngine
will request client authentication.public static final ServerSecurityConfigurator.ClientAuth REQUIRE
SSLEngine
will require client authentication.public static ServerSecurityConfigurator.ClientAuth[] values()
for (ServerSecurityConfigurator.ClientAuth c : ServerSecurityConfigurator.ClientAuth.values()) System.out.println(c);
public static ServerSecurityConfigurator.ClientAuth 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