Enum ScramClientFunctionality.State
- java.lang.Object
-
- java.lang.Enum<ScramClientFunctionality.State>
-
- org.apache.activemq.artemis.protocol.amqp.sasl.scram.ScramClientFunctionality.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ScramClientFunctionality.State>
- Enclosing interface:
- ScramClientFunctionality
public static enum ScramClientFunctionality.State extends java.lang.Enum<ScramClientFunctionality.State>
State of the authentication procedure
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENDEDAuthentication is completes, either successfully or notFINAL_PREPAREDState after final message is preparedFIRST_PREPAREDState after first message is preparedINITIALInitial state
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScramClientFunctionality.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ScramClientFunctionality.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIAL
public static final ScramClientFunctionality.State INITIAL
Initial state
-
FIRST_PREPARED
public static final ScramClientFunctionality.State FIRST_PREPARED
State after first message is prepared
-
FINAL_PREPARED
public static final ScramClientFunctionality.State FINAL_PREPARED
State after final message is prepared
-
ENDED
public static final ScramClientFunctionality.State ENDED
Authentication is completes, either successfully or not
-
-
Method Detail
-
values
public static ScramClientFunctionality.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScramClientFunctionality.State c : ScramClientFunctionality.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScramClientFunctionality.State valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-