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

B28174-01


oracle.security.xmlsec.saml2.protocol
Class StatusResponse

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

Direct Known Subclasses:
ArtifactResponse, LogoutResponse, ManageNameIDResponse, NameIDMappingResponse, Response

public class StatusResponse
extends RequestAbstract

Represents a SAML response message. A SAML responder sends messages derived from this class.


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
  StatusResponse(org.w3c.dom.Document owner)
          Creates a new StatusResponse instance.
protected StatusResponse(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new StatusResponse instance.
  StatusResponse(org.w3c.dom.Element element)
          Creates a new Response instance from the given Element node.
  StatusResponse(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new StatusResponse instance from the given Element node.

 

Method Summary
 java.lang.String getInResponseTo()
          Returns the identifier of the request to which this response corresponds.
 Status getStatus()
          Gets the status of the response
protected  oracle.security.xmlsec.util.QName getXsiType()
          Returns the XML Schema xsi:type attribute to identify the saml:condition
 void setInResponseTo(java.lang.String requestID)
          Sets the identifier of the request to which this response corresponds.
 void setStatus(Status status)
          Sets the status of the response.
protected  void setXsiType(oracle.security.xmlsec.util.QName type)
          Set the XML Schema xsi:type attribute to identify the saml:condition.

 

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

StatusResponse

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

StatusResponse

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

StatusResponse

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

StatusResponse

protected StatusResponse(org.w3c.dom.Document owner,
                         java.lang.String nsURI,
                         java.lang.String localName)
                  throws org.w3c.dom.DOMException
Creates a new StatusResponse instance. This constructor is for use in subclass for extension of the StatusResponse element.
Parameters:
owner - The owner document of the new StatusResponse.
nsURI - The namespace URI in which the new StatusResponse is to be created.
localName - The localName of the element represented by the class that extends this class.

Method Detail

setXsiType

protected void setXsiType(oracle.security.xmlsec.util.QName type)
Set the XML Schema xsi:type attribute to identify the saml:condition.
Parameters:
type - The QName reference.

getXsiType

protected oracle.security.xmlsec.util.QName getXsiType()
Returns the XML Schema xsi:type attribute to identify the saml:condition
Returns:
The QName reference or null if not specified.

setInResponseTo

public void setInResponseTo(java.lang.String requestID)
Sets the identifier of the request to which this response corresponds.
Parameters:
requestID - A unique identifier.

getInResponseTo

public java.lang.String getInResponseTo()
Returns the identifier of the request to which this response corresponds.
Returns:
The String value of the InResponseTo attribute or null if none has been set.

setStatus

public void setStatus(Status status)
Sets the status of the response.
Parameters:
status - A Status object containing response status information.

getStatus

public Status getStatus()
Gets the status of the response
Returns:
A Status object.

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.