Package com.unboundid.ldap.sdk
Enum GSSAPIChannelBindingType
- All Implemented Interfaces:
Serializable,Comparable<GSSAPIChannelBindingType>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum GSSAPIChannelBindingType
extends Enum<GSSAPIChannelBindingType>
This enum defines the types of channel binding that may be used in
conjunction with the GSSAPI SASL mechanism. Note that channel binding
support is dependent upon the underlying JVM and may not be available in all
cases.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe channel binding type that indicates that no channel binding should be used.The channel binding type that indicates that TLS server end-point channel binding should be used. -
Method Summary
Modifier and TypeMethodDescriptionstatic GSSAPIChannelBindingTypeRetrieves the GSSAPI channel binding type with the specified name.getName()Retrieves the name for this GSSAPI channel binding type.static GSSAPIChannelBindingTypeReturns the enum constant of this type with the specified name.static GSSAPIChannelBindingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
The channel binding type that indicates that no channel binding should be used. -
TLS_SERVER_END_POINT
The channel binding type that indicates that TLS server end-point channel binding should be used.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Retrieves the name for this GSSAPI channel binding type.- Returns:
- The name for this GSSAPI channel binding type.
-
forName
Retrieves the GSSAPI channel binding type with the specified name.- Parameters:
name- The name of the GSSAPI channel binding type to retrieve. It must not benull.- Returns:
- The requested channel binding type, or
nullif no channel binding type is defined with the provided name.
-