Package org.cyclos.impl.access
Enum FailedAction
- java.lang.Object
-
- java.lang.Enum<FailedAction>
-
- org.cyclos.impl.access.FailedAction
-
- All Implemented Interfaces:
Serializable,Comparable<FailedAction>
public enum FailedAction extends Enum<FailedAction>
Types of failed actions used when tracking the amount of failures of certain type. e.g Amount of failed attempts to login by an invalid password.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisForGuest()static FailedActionvalueOf(String name)Returns the enum constant of this type with the specified name.static FailedAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCKED_USER
public static final FailedAction BLOCKED_USER
-
FAILED_PHONE_VERIFICATION_AS_GUEST
public static final FailedAction FAILED_PHONE_VERIFICATION_AS_GUEST
-
FAILED_EMAIL_VERIFICATION_AS_GUEST
public static final FailedAction FAILED_EMAIL_VERIFICATION_AS_GUEST
-
FAILED_PRINCIPAL
public static final FailedAction FAILED_PRINCIPAL
-
FAILED_VOUCHER_INFO
public static final FailedAction FAILED_VOUCHER_INFO
-
FORGOT_PASSWORD_REQUEST
public static final FailedAction FORGOT_PASSWORD_REQUEST
-
FAILED_ACCESS_CLIENT_ACTIVATION
public static final FailedAction FAILED_ACCESS_CLIENT_ACTIVATION
-
FAILED_TOKEN_ACTIVATION
public static final FailedAction FAILED_TOKEN_ACTIVATION
-
FAILED_SECURITY_ANSWER
public static final FailedAction FAILED_SECURITY_ANSWER
-
FAILED_VOUCHER_REDEEM
public static final FailedAction FAILED_VOUCHER_REDEEM
-
FAILED_USER_LOCATION
public static final FailedAction FAILED_USER_LOCATION
-
FAILED_DEVICE_CONFIRMATION
public static final FailedAction FAILED_DEVICE_CONFIRMATION
-
FAILED_DEVICE_ACTIVATION
public static final FailedAction FAILED_DEVICE_ACTIVATION
-
FAILED_VOUCHER_PIN
public static final FailedAction FAILED_VOUCHER_PIN
-
FAILED_PHONE_VERIFICATION
public static final FailedAction FAILED_PHONE_VERIFICATION
-
FAILED_TOTP
public static final FailedAction FAILED_TOTP
-
FAILED_TOTP_ACTIVATION
public static final FailedAction FAILED_TOTP_ACTIVATION
-
-
Method Detail
-
values
public static FailedAction[] 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 (FailedAction c : FailedAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailedAction 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
-
isForGuest
public boolean isForGuest()
-
-