public static enum Connection.ClientAuth extends Enum<Connection.ClientAuth>
Enum Constant and Description |
---|
disabled
No authentication will be performed on the client.
|
needed
Clients need to be authenticated.
|
wanted
Clients will try to be authenticated.
|
Modifier and Type | Method and Description |
---|---|
static Connection.ClientAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.ClientAuth disabled
public static final Connection.ClientAuth wanted
needed
, if the client
chooses not to provide authentication information about itself, the TLS negotiations
will stop and the connection will be dropped. This option is only useful for
engines in the server mode.public static final Connection.ClientAuth needed
wanted
, if the client
chooses not to provide authentication information about itself, the TLS negotiations
will continue. This option is only useful for engines in the server mode.public static Connection.ClientAuth[] values()
for (Connection.ClientAuth c : Connection.ClientAuth.values()) System.out.println(c);
public static Connection.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 © 2003-2008 Jive Software.