Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


oracle.security.xmlsec.saml2.protocol
Class Response

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.protocol.RequestAbstract
              extended byoracle.security.xmlsec.saml2.protocol.StatusResponse
                  extended byoracle.security.xmlsec.saml2.protocol.Response


public class Response
extends StatusResponse

Represents a response message consisting of a list of zero or more assertions that satisfies the corresponding request.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.saml2.protocol.RequestAbstract
VERSION

 

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

 

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

 

Method Summary
 void addAssertion(Assertion assertion)
          Adds an assertion.
 void addEncryptedAssertion(EncryptedAssertion encAssertion)
          Adds an encrypted assertion.
 java.util.List getAllAssertions()
          Returns the set of encrypted and unencrypted assertions.
 java.util.List getAssertions()
          Returns the set of unencrypted assertions.
 java.util.List getEncryptedAssertions()
          Returns the set of encrypted assertion.

 

Methods inherited from class oracle.security.xmlsec.saml2.protocol.StatusResponse
getInResponseTo, getStatus, getXsiType, setInResponseTo, setStatus, setXsiType

 

Methods inherited from class oracle.security.xmlsec.saml2.protocol.RequestAbstract
addSignature, addSignature, clearSignature, getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, sign, verify, verify

 

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

Response

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

Response

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

Response

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

Method Detail

addAssertion

public void addAssertion(Assertion assertion)
Adds an assertion.
Parameters:
assertion - An Assertion object.

addEncryptedAssertion

public void addEncryptedAssertion(EncryptedAssertion encAssertion)
Adds an encrypted assertion.
Parameters:
encAssertion - An EncryptedAssertion object.

getAssertions

public java.util.List getAssertions()
Returns the set of unencrypted assertions.
Returns:
A List containing Assertion objects or an empty List if no assertions were added.

getEncryptedAssertions

public java.util.List getEncryptedAssertions()
Returns the set of encrypted assertion.
Returns:
A List containing EncryptedAssertion objects or an empty List if no encrypted assertion were added.

getAllAssertions

public java.util.List getAllAssertions()
Returns the set of encrypted and unencrypted assertions.
Returns:
A List containing Assertion and EncryptedAssertion objects or an empty List if none were added.

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


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