- All Implemented Interfaces:
Serializable
,Comparable<SecurityResponse.SecurityStatus>
,Constable
- Enclosing class:
- SecurityResponse
Status of a security operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCannot process, not an error.Indicates that the message processing by the security module was NOT successful.Failed and provider did everything to be done.Indicates that the message processing by the security component was successful and that the runtime is to proceed with its normal processing of the resulting message.Succeeded and provider did everything to be done. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the enum constant of this class with the specified name.static SecurityResponse.SecurityStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Indicates that the message processing by the security component was successful and that the runtime is to proceed with its normal processing of the resulting message. Example: authentication successful, continue with request processing. -
SUCCESS_FINISH
Succeeded and provider did everything to be done. Finish processing (do nothing more in current flow). The provider should have:- Updated headers (through
SecurityResponse.SecurityResponseBuilder.responseHeader(String, String)
- Updated status code (through
SecurityResponse.SecurityResponseBuilder.statusCode(int)
- Updated headers (through
-
FAILURE
Indicates that the message processing by the security module was NOT successful. Example: authorization failure -
FAILURE_FINISH
Failed and provider did everything to be done. Finish processing (do nothing more in current flow). -
ABSTAIN
Cannot process, not an error.
-
-
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
-
isSuccess
public boolean isSuccess()
-