Enum ScramServerFunctionality.State
- java.lang.Object
-
- java.lang.Enum<ScramServerFunctionality.State>
-
- org.apache.activemq.artemis.protocol.amqp.sasl.scram.ScramServerFunctionality.State
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ScramServerFunctionality.State>
- Enclosing interface:
- ScramServerFunctionality
public static enum ScramServerFunctionality.State extends java.lang.Enum<ScramServerFunctionality.State>
State of the authentication procedure
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENDEDAuthentication is completes, either successfully or notFIRST_CLIENT_MESSAGE_HANDLEDFirst client message is handled (username is extracted)INITIALInitial statePREPARED_FIRSTFirst server message is prepared
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScramServerFunctionality.StatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ScramServerFunctionality.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 ScramServerFunctionality.State INITIAL
Initial state
-
FIRST_CLIENT_MESSAGE_HANDLED
public static final ScramServerFunctionality.State FIRST_CLIENT_MESSAGE_HANDLED
First client message is handled (username is extracted)
-
PREPARED_FIRST
public static final ScramServerFunctionality.State PREPARED_FIRST
First server message is prepared
-
ENDED
public static final ScramServerFunctionality.State ENDED
Authentication is completes, either successfully or not
-
-
Method Detail
-
values
public static ScramServerFunctionality.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 (ScramServerFunctionality.State c : ScramServerFunctionality.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 ScramServerFunctionality.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
-
-