Package org.openiam.am.srvc.constants
Enum SasAuthResult
- java.lang.Object
-
- java.lang.Enum<SasAuthResult>
-
- org.openiam.am.srvc.constants.SasAuthResult
-
- All Implemented Interfaces:
Serializable
,Comparable<SasAuthResult>
public enum SasAuthResult extends Enum<SasAuthResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH_FAILURE
AUTH_SUCCESS
CHALLENGE
CHANGE_STATIC_PASSWORD
OUTER_WINDOW_AUTH
PIN_CHANGE_FAILED
SERVER_PIN_PROVIDED
STATIC_CHANGE_FAILED
USER_PIN_CHANGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<SasAuthResult>
fromValue(int val)
int
getVal()
static SasAuthResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static SasAuthResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTH_FAILURE
public static final SasAuthResult AUTH_FAILURE
-
AUTH_SUCCESS
public static final SasAuthResult AUTH_SUCCESS
-
CHALLENGE
public static final SasAuthResult CHALLENGE
-
SERVER_PIN_PROVIDED
public static final SasAuthResult SERVER_PIN_PROVIDED
-
USER_PIN_CHANGE
public static final SasAuthResult USER_PIN_CHANGE
-
OUTER_WINDOW_AUTH
public static final SasAuthResult OUTER_WINDOW_AUTH
-
CHANGE_STATIC_PASSWORD
public static final SasAuthResult CHANGE_STATIC_PASSWORD
-
STATIC_CHANGE_FAILED
public static final SasAuthResult STATIC_CHANGE_FAILED
-
PIN_CHANGE_FAILED
public static final SasAuthResult PIN_CHANGE_FAILED
-
-
Method Detail
-
values
public static SasAuthResult[] 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 (SasAuthResult c : SasAuthResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SasAuthResult 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
-
getVal
public int getVal()
-
fromValue
public static Optional<SasAuthResult> fromValue(int val)
-
-