Enum Class AuthorizationEngine.Code

java.lang.Object
java.lang.Enum<AuthorizationEngine.Code>
zeroecho.pki.server.AuthorizationEngine.Code
All Implemented Interfaces:
Serializable, Comparable<AuthorizationEngine.Code>, Constable
Enclosing class:
AuthorizationEngine

public static enum AuthorizationEngine.Code extends Enum<AuthorizationEngine.Code>
Safe decision codes that reveal no protected-object existence.
  • Enum Constant Details

    • ALLOWED

      public static final AuthorizationEngine.Code ALLOWED
      A matching allow grant authorized the request.
    • NO_MATCHING_GRANT

      public static final AuthorizationEngine.Code NO_MATCHING_GRANT
      No enabled grant matched the principal, action, resource, and relationship.
    • EXPLICITLY_DENIED

      public static final AuthorizationEngine.Code EXPLICITLY_DENIED
      A matching deny grant took precedence.
    • OUTSIDE_REALM

      public static final AuthorizationEngine.Code OUTSIDE_REALM
      The requested resource belongs to another realm.
    • OUTSIDE_AUTHORITY_SCOPE

      public static final AuthorizationEngine.Code OUTSIDE_AUTHORITY_SCOPE
      The authority is not exposed by process policy.
    • INSUFFICIENT_DATA_VIEW

      public static final AuthorizationEngine.Code INSUFFICIENT_DATA_VIEW
      A matching grant does not permit the requested data view.
    • APPROVAL_REQUIRED

      public static final AuthorizationEngine.Code APPROVAL_REQUIRED
      A matching conditional grant requires an approval.
    • GRANT_EXPIRED

      public static final AuthorizationEngine.Code GRANT_EXPIRED
      Matching grants exist but have expired.
    • PRINCIPAL_DISABLED

      public static final AuthorizationEngine.Code PRINCIPAL_DISABLED
      The authenticated principal is disabled.
    • CONDITION_NOT_SATISFIED

      public static final AuthorizationEngine.Code CONDITION_NOT_SATISFIED
      Another closed grant condition was not satisfied.
  • Method Details

    • values

      public static AuthorizationEngine.Code[] 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 AuthorizationEngine.Code 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