Package alpine.auth
Enum AlpineAuthenticationException.CauseType
- java.lang.Object
-
- java.lang.Enum<AlpineAuthenticationException.CauseType>
-
- alpine.auth.AlpineAuthenticationException.CauseType
-
- All Implemented Interfaces:
Serializable,Comparable<AlpineAuthenticationException.CauseType>
- Enclosing class:
- AlpineAuthenticationException
public static enum AlpineAuthenticationException.CauseType extends Enum<AlpineAuthenticationException.CauseType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPIRED_CREDENTIALSFORCE_PASSWORD_CHANGEINVALID_CREDENTIALSOTHERSUSPENDEDUNMAPPED_ACCOUNT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlpineAuthenticationException.CauseTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AlpineAuthenticationException.CauseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_CREDENTIALS
public static final AlpineAuthenticationException.CauseType INVALID_CREDENTIALS
-
EXPIRED_CREDENTIALS
public static final AlpineAuthenticationException.CauseType EXPIRED_CREDENTIALS
-
FORCE_PASSWORD_CHANGE
public static final AlpineAuthenticationException.CauseType FORCE_PASSWORD_CHANGE
-
SUSPENDED
public static final AlpineAuthenticationException.CauseType SUSPENDED
-
UNMAPPED_ACCOUNT
public static final AlpineAuthenticationException.CauseType UNMAPPED_ACCOUNT
-
OTHER
public static final AlpineAuthenticationException.CauseType OTHER
-
-
Method Detail
-
values
public static AlpineAuthenticationException.CauseType[] 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 (AlpineAuthenticationException.CauseType c : AlpineAuthenticationException.CauseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlpineAuthenticationException.CauseType 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
-
-