Enum Class AuthenticationSequenceModuleNecessityType
java.lang.Object
java.lang.Enum<AuthenticationSequenceModuleNecessityType>
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthenticationSequenceModuleNecessityType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<AuthenticationSequenceModuleNecessityType>
,Constable
public enum AuthenticationSequenceModuleNecessityType
extends Enum<AuthenticationSequenceModuleNecessityType>
implements TypeSafeEnum
Necessity, i.e. the level of requirement, whether the module is mandatory or optional.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe module is optional.The module is required.The module is required.The module is sufficient for authentication to succeed. -
Method Summary
-
Enum Constant Details
-
SUFFICIENT
The module is sufficient for authentication to succeed. It is NOT required to succeed. If this module succeeds, the evaluation stops. The result is a success. Other modules are NOT evaluated. (Except for the case when "required" module that was evaluated before has failed.) If this module fails, the evaluation continues. Other modules are evaluated. -
REQUIRED
The module is required. The module must succeed for the entire sequence to be successful. If this module succeeds, the evaluation continues. Other modules are evaluated. If this module fails, the evaluation continues. Other modules are evaluated. Final result of authentication sequence is a failure. -
REQUISITE
The module is required. The module must succeed for the entire sequence to be successful. If this module succeeds, the evaluation continues. Other modules are evaluated. If this module fails, the evaluation stops with an error. Other modules are NOT evaluated. Final result of authentication sequence is a failure. -
OPTIONAL
The module is optional. It is NOT required to succeed. Optional module does not really influence the result of the authentication. But it may be used to add some authentication attributes, it may be used to cross-authenticate is SSO realms and so on. If this module succeeds, the evaluation continues. If this module fails, the evaluation continues. The result of the sequence is a failure only if this is the only module in the sequence and it fails.
-
-
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
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-