Skip navigation links


oracle.iam.platform.authopss.api
Interface AuthorizationResult

All Superinterfaces:
java.io.Serializable

public interface AuthorizationResult
extends java.io.Serializable

Encapsulates access permission results composed of the authorization decision.


Nested Class Summary
static class AuthorizationResult.DenyResult
           

 

Method Summary
 AuthorizationResult.DenyResult getDenyResult()
           
 Obligation getObligation(java.lang.String obligationAttributeName)
          Get the obligation with the given attribute name
 java.util.List getObligationIds()
          List of obligation ids that are applicable in this authorization result across all possible scopes.
 PolicyConstants.DenialReason getReason()
           
 boolean hasObligations()
          Returns true if obligations are received from the authorization policies.
 boolean isAllowed()
          Obtains this AuthorizationResult's current decision value.

 

Method Detail

isAllowed

boolean isAllowed()
Obtains this AuthorizationResult's current decision value.
Returns:
current decision value

hasObligations

boolean hasObligations()
Returns true if obligations are received from the authorization policies.

getObligation

Obligation getObligation(java.lang.String obligationAttributeName)
Get the obligation with the given attribute name

getObligationIds

java.util.List getObligationIds()
List of obligation ids that are applicable in this authorization result across all possible scopes. It is possible that some obligations are not applicable in a scope.

getReason

PolicyConstants.DenialReason getReason()

getDenyResult

AuthorizationResult.DenyResult getDenyResult()

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.