Serializable
, Comparable<LDAPConnectionSecurity>
public enum LDAPConnectionSecurity extends Enum<LDAPConnectionSecurity>
Enum Constant | Description |
---|---|
NONE |
No security (plain connection).
|
SSL |
SSL security.
|
STARTTLS |
StartTLS security.
|
Modifier and Type | Method | Description |
---|---|---|
static LDAPConnectionSecurity |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static LDAPConnectionSecurity[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LDAPConnectionSecurity NONE
public static final LDAPConnectionSecurity STARTTLS
public static final LDAPConnectionSecurity SSL
public static LDAPConnectionSecurity[] values()
for (LDAPConnectionSecurity c : LDAPConnectionSecurity.values()) System.out.println(c);
public static LDAPConnectionSecurity 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 © 2018 Connect2id. All rights reserved.