Package com.ongres.scram.client
Enum Class ScramClient.ChannelBinding
- All Implemented Interfaces:
Serializable
,Comparable<ScramClient.ChannelBinding>
,Constable
- Enclosing class:
- ScramClient
Select whether this client will support channel binding or not
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChannel binding is preferred.Don't use channel binding.Force use of channel binding. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScramClient.ChannelBinding
Returns the enum constant of this class with the specified name.static ScramClient.ChannelBinding[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO
Don't use channel binding. Server must support at least one non-channel binding mechanism. -
YES
Force use of channel binding. Server must support at least one channel binding mechanism. Channel binding data will need to be provided as part of the ClientFirstMessage. -
IF_SERVER_SUPPORTS_IT
Channel binding is preferred. Non-channel binding mechanisms will be used if either the server does not support channel binding, or no channel binding data is provided as part of the ClientFirstMessage
-
-
Field Details
-
gs2CbindFlag
-
-
Constructor Details
-
ChannelBinding
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
gs2CbindFlag
-