public enum ClientAuth extends 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2024 The Netty Project. All rights reserved.