public enum ConnectionProtocolPolicy extends Enum<ConnectionProtocolPolicy>
Enum Constant and Description |
---|
USE_ADMIN
Force to use the Administration Connector.
|
USE_LDAP
Force to use LDAP.
|
USE_LDAPS
Force to use LDAPs.
|
USE_LESS_SECURE_AVAILABLE
Use the less secure available (LDAP, and then LDAPs).
|
USE_MOST_SECURE_AVAILABLE
Use the most secure available (LDAPs, StartTLS and finally LDAP).
|
USE_STARTTLS
Force to use Start TLS.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionProtocolPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionProtocolPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionProtocolPolicy USE_STARTTLS
public static final ConnectionProtocolPolicy USE_LDAP
public static final ConnectionProtocolPolicy USE_LDAPS
public static final ConnectionProtocolPolicy USE_ADMIN
public static final ConnectionProtocolPolicy USE_MOST_SECURE_AVAILABLE
public static final ConnectionProtocolPolicy USE_LESS_SECURE_AVAILABLE
public static ConnectionProtocolPolicy[] values()
for (ConnectionProtocolPolicy c : ConnectionProtocolPolicy.values()) System.out.println(c);
public static ConnectionProtocolPolicy 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 © 2010-2017 ForgeRock AS. All Rights Reserved.