Skip navigation links

Oracle Fusion Middleware SAML 1.0/1.1 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10675-05


oracle.security.xmlsec.saml
Class AuthorizationDecisionStatement

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml.Statement
              extended by oracle.security.xmlsec.saml.SubjectStatement
                  extended by oracle.security.xmlsec.saml.AuthorizationDecisionStatement


public class AuthorizationDecisionStatement
extends SubjectStatement

The AuthorizationDecisionStatement element supplies a statement by an issuer stating that the request for access by the specified subject to the specified resource has resulted in the specified decision on the basis of some optionally specified evidence.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
AuthorizationDecisionStatement(org.w3c.dom.Document owner)
          Creates a new AuthorizationDecisionStatement instance.
AuthorizationDecisionStatement(org.w3c.dom.Element element)
          Creates a new AuthorizationDecisionStatement instance from the given Element node.
AuthorizationDecisionStatement(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new AuthorizationDecisionStatement instance from the given Element node.

 

Method Summary
 void addAction(Action action)
          Adds an action authorized to be performed on the resource.
 java.util.List getActions()
          Gets the set of actions authorized to be performed on the specified resource.
 Decision getDecision()
          Gets the decision rendered by the issuer.
 Evidence getEvidence()
          Gets the set of evidences of this statement.
 java.lang.String getResource()
          Gets the resource to which access authorization is sought.
 void setDecision(Decision decision)
          Sets the decision rendered by the issuer.
 void setEvidence(Evidence evidence)
          Adds an evidence to the statement.
 void setResource(java.lang.String resource)
          Sets the resource to which access authorization is sought.

 

Methods inherited from class oracle.security.xmlsec.saml.SubjectStatement
getSubject, setSubject

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AuthorizationDecisionStatement

public AuthorizationDecisionStatement(org.w3c.dom.Element element)
                               throws org.w3c.dom.DOMException
Creates a new AuthorizationDecisionStatement instance from the given Element node.
Parameters:
element - An AuthorizationDecisionStatement element.
Throws:
org.w3c.dom.DOMException

AuthorizationDecisionStatement

public AuthorizationDecisionStatement(org.w3c.dom.Element element,
                                      java.lang.String systemId)
                               throws org.w3c.dom.DOMException
Creates a new AuthorizationDecisionStatement instance from the given Element node.
Parameters:
element - An AuthorizationDecisionStatement element.
systemId - The URI string system ID for the AuthorizationDecisionStatement.
Throws:
org.w3c.dom.DOMException

AuthorizationDecisionStatement

public AuthorizationDecisionStatement(org.w3c.dom.Document owner)
                               throws org.w3c.dom.DOMException
Creates a new AuthorizationDecisionStatement instance.
Parameters:
owner - The owner document of the new AuthorizationDecisionStatement.
Throws:
org.w3c.dom.DOMException

Method Detail

setResource

public void setResource(java.lang.String resource)
Sets the resource to which access authorization is sought.
Parameters:
resource - A URI reference identifying a resource.

getResource

public java.lang.String getResource()
Gets the resource to which access authorization is sought.
Returns:
A URI identifying a resource.

setDecision

public void setDecision(Decision decision)
Sets the decision rendered by the issuer.
Parameters:
decision - The Decision representing the decision of the issuer.

getDecision

public Decision getDecision()
Gets the decision rendered by the issuer.
Returns:
A Decision object.

addAction

public void addAction(Action action)
Adds an action authorized to be performed on the resource.
Parameters:
action - An Action object representing an action allowed to be performed.

getActions

public java.util.List getActions()
Gets the set of actions authorized to be performed on the specified resource.
Returns:
A List containing Action objects.

setEvidence

public void setEvidence(Evidence evidence)
Adds an evidence to the statement.
Parameters:
evidence - An Evidence object that the issuer relied on in making the decision.

getEvidence

public Evidence getEvidence()
Gets the set of evidences of this statement.
Returns:
A List containing Evidence objects.

Skip navigation links

Oracle Fusion Middleware SAML 1.0/1.1 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10675-05


Copyright © 2005, 2013 , Oracle. All rights reserved.