public interface PolicyRequestDetails
Advice
implementations containing information about the policy request that
triggered the return of the Advice.Modifier and Type | Method and Description |
---|---|
java.util.Optional<TokenValidationResult> |
getAccessToken()
Get access token details.
|
java.lang.String |
getAction()
Get the action for which authorization was requested.
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Get additional policy request attributes.
|
PolicyDecision |
getDecision()
Get the decision returned from the authorization request.
|
java.util.Optional<com.fasterxml.jackson.databind.JsonNode> |
getResource()
Gets the contents of the resource to which access was requested.
|
java.lang.String |
getResourcePath()
Get the path to the resource for which authorization was requested.
|
java.lang.String |
getResourceType()
Get the type of resource to which authorization was requested.
|
java.lang.String |
getService()
Get the name of the service on whose behalf the request is being
authorized.
|
java.util.Optional<TokenOwnerPrincipal> |
getTokenOwner()
Get information about the token owner.
|
java.lang.String getAction()
java.lang.String getService()
java.lang.String getResourcePath()
java.lang.String getResourceType()
java.util.Optional<com.fasterxml.jackson.databind.JsonNode> getResource()
java.util.Optional<TokenOwnerPrincipal> getTokenOwner()
java.util.Optional<TokenValidationResult> getAccessToken()
java.util.Map<java.lang.String,java.lang.String> getAttributes()
PolicyDecision getDecision()