Skip navigation links


oracle.iam.platform.authz.api
Interface AuthorizationResult

All Superinterfaces:
java.io.Serializable

public interface AuthorizationResult
extends java.io.Serializable

Encapsulates access permission results composed of the authorization decision and the obligations to be further verified.


Method Summary
 void addInternalObligations(java.util.List ios)
          Adds obligations to this result for any downstream processing.
 AccessDeniedException getAccessDeniedException()
          Gets the cause of access denial.
 java.util.List getObligations()
          Obtains this AuthorizationResult's obligations.
 boolean isAllowed()
          Obtains this AuthorizationResult's current decision value.
 void setAccessDeniedException(AccessDeniedException accessDeniedException)
          Sets the cause of access denial.
 void setAllowed(boolean allowed)
          Sets the AuthorizationResult's current decision value.

 

Method Detail

isAllowed

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

setAllowed

void setAllowed(boolean allowed)
Sets the AuthorizationResult's current decision value.
Parameters:
allowed - current decision value

getObligations

java.util.List getObligations()
Obtains this AuthorizationResult's obligations.
Returns:
the list of obligations

getAccessDeniedException

AccessDeniedException getAccessDeniedException()
Gets the cause of access denial.
Returns:
the underlying exception causing the denial of access.

setAccessDeniedException

void setAccessDeniedException(AccessDeniedException accessDeniedException)
Sets the cause of access denial.
Parameters:
accessDeniedException -

addInternalObligations

void addInternalObligations(java.util.List ios)
Adds obligations to this result for any downstream processing.
Parameters:
ios -

Skip navigation links


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