Package org.apache.qpid.protonj2.engine
Enum EngineSaslDriver.SaslState
java.lang.Object
java.lang.Enum<EngineSaslDriver.SaslState>
org.apache.qpid.protonj2.engine.EngineSaslDriver.SaslState
- All Implemented Interfaces:
Serializable
,Comparable<EngineSaslDriver.SaslState>
- Enclosing interface:
EngineSaslDriver
The SASL driver state used to determine at what point the current SASL negotiation process
is currently in. If the state is 'none' then no SASL negotiations will be performed.
-
Enum Constant Summary
Enum ConstantDescriptionAuthentication succeededEngine started and set configuration in useAuthentication failedEngine not started, context can be configuredNo authentication layer configured. -
Method Summary
Modifier and TypeMethodDescriptionstatic EngineSaslDriver.SaslState
Returns the enum constant of this type with the specified name.static EngineSaslDriver.SaslState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IDLE
Engine not started, context can be configured -
AUTHENTICATING
Engine started and set configuration in use -
AUTHENTICATED
Authentication succeeded -
AUTHENTICATION_FAILED
Authentication failed -
NONE
No authentication layer configured.
-
-
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
-