Interface ResourceAuthorization


public interface ResourceAuthorization
Encapsulates the AuthorizationResults for a given caller's access to a particular resource.
  • Method Details

    • getResourceResult

      AuthorizationResult getResourceResult(Action.ActionEffect actionEffect)
      Get the authorization result for the entire resource for the given effect.
      Parameters:
      actionEffect - the action effect
      Returns:
      the authorization result
    • getAttributeResult

      AuthorizationResult getAttributeResult(String attribute, Action.ActionEffect actionEffect)
      Get the authorization result for an individual attribute.
      Parameters:
      attribute - the attribute
      actionEffect - the action effect
      Returns:
      the authorization result
    • getOperationResult

      AuthorizationResult getOperationResult(String operationName)
      Get the authorization result for an individual operation.
      Parameters:
      operationName - the operation name
      Returns:
      the authorization result