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-03


oracle.security.xmlsec.samlp
Class AuthorizationDecisionQuery

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.samlp.Query
              extended by oracle.security.xmlsec.samlp.SubjectQuery
                  extended by oracle.security.xmlsec.samlp.AuthorizationDecisionQuery


public class AuthorizationDecisionQuery
extends SubjectQuery

The SAML AuthorizationDecisionQuery element which specifies a SAML query to retrieve an authorization for actions performed by a subject, given some evidence.


Field Summary

 

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

 

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

 

Method Summary
 void addAction(Action action)
          Adds an Action element to this query.
 java.util.List getActions()
          Gets a list of actions for which authorization is requested.
 Evidence getEvidence()
          Gets the evidence present in this query.
 java.lang.String getResource()
          Gets the resource attribute of this AuthorizationDecisionQuery element.
 void setEvidence(Evidence evidence)
          Sets the evidence.
 void setResource(java.lang.String uri)
          Sets the resource attribute.

 

Methods inherited from class oracle.security.xmlsec.samlp.SubjectQuery
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

AuthorizationDecisionQuery

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

AuthorizationDecisionQuery

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

AuthorizationDecisionQuery

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

Method Detail

setResource

public void setResource(java.lang.String uri)
Sets the resource attribute. Specifies the resource for which the authorization is requested.
Parameters:
uri - A URI representing a resource.

getResource

public java.lang.String getResource()
Gets the resource attribute of this AuthorizationDecisionQuery element.
Returns:
A String object representing a URI.

addAction

public void addAction(Action action)
Adds an Action element to this query.
Parameters:
action - An Action object representing an action for which authorization is requested.

getActions

public java.util.List getActions()
Gets a list of actions for which authorization is requested.
Returns:
A List containing Action objects, or an empty List if none has been set.

setEvidence

public void setEvidence(Evidence evidence)
Sets the evidence.
Parameters:
evidence - An Evidence object containing an assertion that the responder may rely on making its response.

getEvidence

public Evidence getEvidence()
Gets the evidence present in this query.
Returns:
The Evidence or null if not specified.

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-03


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