public enum ClientAuth extends java.lang.Enum<ClientAuth>
SSLEngine
with respect to client authentication.
This configuration item really only applies when building the server-side SslContext
.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 ClientAuth |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAuth NONE
SSLEngine
will not request client authentication.public static final ClientAuth OPTIONAL
SSLEngine
will request client authentication.public static final ClientAuth REQUIRE
SSLEngine
will *require* client authentication.public static ClientAuth[] values()
for (ClientAuth c : ClientAuth.values()) System.out.println(c);
public static 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 nullCopyright © 2008–2018 The Netty Project. All rights reserved.