Enum Class FactorStrength
- All Implemented Interfaces:
Serializable,Comparable<FactorStrength>,Constable
How much an authentication factor proves on its own.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA factor that identifies the user but needs a second one, for example a password.A factor that is sufficient alone, for example a passkey: it is possession plus user verification.A factor that only stands in for aSECONDone at sign-in, for example a trusted device: it lets the sign-in policy be satisfied without asking for a code again, but proves nothing about this sign-in, so it is never reported inamr,acrorauth_timeand never satisfies a step-up request.A factor that only counts once aPRIMARYfactor has been presented, for example a TOTP code. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FactorStrengthReturns the enum constant of this class with the specified name.static FactorStrength[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRIMARY_STRONG
A factor that is sufficient alone, for example a passkey: it is possession plus user verification. -
PRIMARY
A factor that identifies the user but needs a second one, for example a password. -
SECOND
A factor that only counts once aPRIMARYfactor has been presented, for example a TOTP code. -
REMEMBERED
A factor that only stands in for aSECONDone at sign-in, for example a trusted device: it lets the sign-in policy be satisfied without asking for a code again, but proves nothing about this sign-in, so it is never reported inamr,acrorauth_timeand never satisfies a step-up request.
-
-
Constructor Details
-
FactorStrength
private FactorStrength()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-