Interface AzResult
-
- All Known Implementing Classes:
AzResultImpl
public interface AzResultThe 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 classAzResult.DecisionThe possible authorization decision values.static classAzResult.StatusThe possible authorization status values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AzResult.DecisiongetDecision()Get the authorization decision value for this AzResult.AzObligationsgetObligations()Return the obligations that apply to this result.AzResult.StatusgetStatus()Get the authorization status value for this AzResult.
-
-
-
Method Detail
-
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.
-
-