Enum Class SecurityResponse.SecurityStatus

java.lang.Object
java.lang.Enum<SecurityResponse.SecurityStatus>
io.helidon.security.SecurityResponse.SecurityStatus
All Implemented Interfaces:
Serializable, Comparable<SecurityResponse.SecurityStatus>, Constable
Enclosing class:
SecurityResponse

public static enum SecurityResponse.SecurityStatus extends Enum<SecurityResponse.SecurityStatus>
Status of a security operation.
  • Enum Constant Details

    • SUCCESS

      public static final SecurityResponse.SecurityStatus 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

      public static final SecurityResponse.SecurityStatus 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)
    • FAILURE

      public static final SecurityResponse.SecurityStatus FAILURE
      Indicates that the message processing by the security module was NOT successful. Example: authorization failure
    • FAILURE_FINISH

      public static final SecurityResponse.SecurityStatus FAILURE_FINISH
      Failed and provider did everything to be done. Finish processing (do nothing more in current flow).
    • ABSTAIN

      public static final SecurityResponse.SecurityStatus ABSTAIN
      Cannot process, not an error.
  • Method Details

    • values

      public static SecurityResponse.SecurityStatus[] 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

      public static SecurityResponse.SecurityStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isSuccess

      public boolean isSuccess()