Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
10g (10.1.4.0.1)

B28173-01


oracle.security.xmlsec.samlp
Class AuthorizationDecisionQuery

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.samlp.Query
              extended byoracle.security.xmlsec.samlp.SubjectQuery
                  extended byoracle.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, 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.

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.

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.

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.

Oracle Security Developer Tools SAML 1.0/1.1 Java API Reference
10g (10.1.4.0.1)

B28173-01


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