public static enum ConnectionConfiguration.SecurityMode extends Enum<ConnectionConfiguration.SecurityMode>
Enum Constant and Description |
---|
disabled
Security via TLS encryption is disabled and only un-encrypted connections will
be used.
|
enabled
Security via TLS encryption is used whenever it's available.
|
required
Securirty via TLS encryption is required in order to connect.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionConfiguration.SecurityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionConfiguration.SecurityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionConfiguration.SecurityMode required
public static final ConnectionConfiguration.SecurityMode enabled
public static final ConnectionConfiguration.SecurityMode disabled
public static ConnectionConfiguration.SecurityMode[] values()
for (ConnectionConfiguration.SecurityMode c : ConnectionConfiguration.SecurityMode.values()) System.out.println(c);
public static ConnectionConfiguration.SecurityMode 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 null