Enum Class XacmlStatusCode

java.lang.Object
java.lang.Enum<XacmlStatusCode>
org.ow2.authzforce.xacml.identifiers.XacmlStatusCode
All Implemented Interfaces:
Serializable, Comparable<XacmlStatusCode>, Constable

public enum XacmlStatusCode extends Enum<XacmlStatusCode>
XACML Resource scopes, as defined in XACML v3.0 Multiple Decision Profile Version 1.0, ยง6.1. The actual value
  • Enum Constant Details

    • OK

      public static final XacmlStatusCode OK
      Standard identifier for the OK status
    • MISSING_ATTRIBUTE

      public static final XacmlStatusCode MISSING_ATTRIBUTE
      Standard identifier for the Missing Attribute status
    • SYNTAX_ERROR

      public static final XacmlStatusCode SYNTAX_ERROR
      Standard identifier for the Syntax Error status
    • PROCESSING_ERROR

      public static final XacmlStatusCode PROCESSING_ERROR
      Standard identifier for the Processing Error status
  • Method Details

    • values

      public static XacmlStatusCode[] 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 XacmlStatusCode 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
    • value

      public String value()
      Get standard identifier (string), e.g. ""urn:oasis:names:tc:xacml:1.0:status:ok"" for OK
      Returns:
      identifier
    • fromValue

      public static XacmlStatusCode fromValue(String id)
      Get constant from identifier
      Parameters:
      id - identifier
      Returns:
      status code enum