All Known Implementing Classes:
AzResultImpl

public interface AzResult
The AzResult class represents the result of an authorization decision. The result includes three distinct results: A result status, which indicates whether the call was successful or not, and may indicate a reason for a failed call; an authorization decision, which is valid only if the status is "OK", and obligations, which represent actions the calling code must take if it proceeds to access the resource in question. Obligations are expressed as attributes; the meaning of any specific obligation is established by an out-of-band agreement between the PDP and the PEP.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The possible authorization decision values.
    static enum 
    The possible authorization status values.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the authorization decision value for this AzResult.
    Return the obligations that apply to this result.
    Get the authorization status value for this AzResult.
  • Method Details

    • getDecision

      AzResult.Decision getDecision()
      Get the authorization decision value for this AzResult.
      Returns:
      The Decision value.
    • getStatus

      AzResult.Status getStatus()
      Get the authorization status value for this AzResult.
      Returns:
      The Status value.
    • getObligations

      AzObligations getObligations()
      Return the obligations that apply to this result.
      Returns:
      The AzObligations.