Enum AuthenticationResult.AuthenticationStatus
- java.lang.Object
-
- java.lang.Enum<AuthenticationResult.AuthenticationStatus>
-
- org.apache.qpid.server.security.auth.AuthenticationResult.AuthenticationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticationResult.AuthenticationStatus>
- Enclosing class:
- AuthenticationResult
public static enum AuthenticationResult.AuthenticationStatus extends Enum<AuthenticationResult.AuthenticationStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationResult.AuthenticationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AuthenticationResult.AuthenticationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final AuthenticationResult.AuthenticationStatus SUCCESS
Authentication successful
-
CONTINUE
public static final AuthenticationResult.AuthenticationStatus CONTINUE
Authentication not successful due to credentials problem etc
-
ERROR
public static final AuthenticationResult.AuthenticationStatus ERROR
Problem prevented the authentication from being made e.g. failure of an external system
-
-
Method Detail
-
values
public static AuthenticationResult.AuthenticationStatus[] 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 (AuthenticationResult.AuthenticationStatus c : AuthenticationResult.AuthenticationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationResult.AuthenticationStatus valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-