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 | 
|---|
| NONEIndicates that the  SSLEnginewill not request client authentication. | 
| OPTIONALIndicates that the  SSLEnginewill request client authentication. | 
| REQUIREIndicates that the  SSLEnginewill *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–2025 The Netty Project. All rights reserved.