Enum Class AuthorizationEngine.Code
- All Implemented Interfaces:
Serializable, Comparable<AuthorizationEngine.Code>, Constable
- Enclosing class:
AuthorizationEngine
Safe decision codes that reveal no protected-object existence.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA matching allow grant authorized the request.A matching conditional grant requires an approval.Another closed grant condition was not satisfied.A matching deny grant took precedence.Matching grants exist but have expired.A matching grant does not permit the requested data view.No enabled grant matched the principal, action, resource, and relationship.The authority is not exposed by process policy.The requested resource belongs to another realm.The authenticated principal is disabled. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizationEngine.CodeReturns the enum constant of this class with the specified name.static AuthorizationEngine.Code[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOWED
A matching allow grant authorized the request. -
NO_MATCHING_GRANT
No enabled grant matched the principal, action, resource, and relationship. -
EXPLICITLY_DENIED
A matching deny grant took precedence. -
OUTSIDE_REALM
The requested resource belongs to another realm. -
OUTSIDE_AUTHORITY_SCOPE
The authority is not exposed by process policy. -
INSUFFICIENT_DATA_VIEW
A matching grant does not permit the requested data view. -
APPROVAL_REQUIRED
A matching conditional grant requires an approval. -
GRANT_EXPIRED
Matching grants exist but have expired. -
PRINCIPAL_DISABLED
The authenticated principal is disabled. -
CONDITION_NOT_SATISFIED
Another closed grant condition was not satisfied.
-
-
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
-