Interface AzResult
-
- 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 class
AzResult.Decision
The possible authorization decision values.static class
AzResult.Status
The possible authorization status values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AzResult.Decision
getDecision()
Get the authorization decision value for this AzResult.AzObligations
getObligations()
Return the obligations that apply to this result.AzResult.Status
getStatus()
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.
-
-