Enum Class StatusPolicy
- All Implemented Interfaces:
Serializable,Comparable<StatusPolicy>,Constable
Policy for handling if the user returned by the CP is not found or not active in the IDM.
- Since:
- 1.7.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProceed anyway.Throw an exception, leading to the standard error page.Display 'unknownuser' error page with text and instructions and a button continue to application.Send a SAML responder state UnknownPrincipal.Display 'unknownuser' error page with text and instructions.Only fetch active users from the IDM. -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusPolicystatic StatusPolicyReturns the enum constant of this class with the specified name.static StatusPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FETCH_ACTIVE_ONLY
Only fetch active users from the IDM. This is the default. -
BLOCK
Throw an exception, leading to the standard error page. -
BLOCK_RESPONDER
Send a SAML responder state UnknownPrincipal.- See Also:
-
BLOCK_EXCEPTION
Display 'unknownuser' error page with text and instructions and a button continue to application. -
BLOCK_UNKNOWN_USER
Display 'unknownuser' error page with text and instructions. -
ALLOW_UNKNOWN_USER
Proceed anyway.
-
-
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
-
of
-