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


oracle.security.xmlsec.samlp
Class ResponseType

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml.SAMLMessage
              extended by oracle.security.xmlsec.samlp.ResponseType

Direct Known Subclasses:
Response

public abstract class ResponseType
extends SAMLMessage

An abstract class representing a generic response.


Field Summary

 

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

 

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

 

Method Summary
protected  java.lang.String getID()
          Returns the ID attribute if any of this SAML message to be used for the signature operations.
 java.lang.String getInResponseTo()
          Returns the reference to the identifier of the request to which the response corresponds.
 java.util.Date getIssueInstant()
          Returns the time instant of issue attribute.
protected  java.lang.String[] getLocalNamesPrecedeDSig()
          Obtains the ordered set of the local names of all the preceding sibling child elements of this Signature child element in the the Schema for the XML element that the implementing subclass targets for.
protected  java.lang.String[] getNSURIsPrecedeDSig()
          Obtains the ordered set of the the namespace URIs for all the preceding sibling child elements of this Signature child element in the the Schema for the XML element that the implementing subclass targets for.
 java.lang.String getRecipient()
          Gets the recipient attribute of this AttributeQuery element.
 java.lang.String getResponseID()
          Returns the identifier attribute for this ResponseType.
 void setInResponseTo(java.lang.String inResponseTo)
          Sets the reference to the identifier of the request to which the response corresponds.
 void setIssueInstant(java.util.Date issueInstant)
          Sets the time instant of issue attribute as a UTC time.
 void setRecipient(java.lang.String uri)
          Sets the recipient attribute.
 void setResponseID(java.lang.String responseID)
          Sets the identifier attribute for this ResponseType object.

 

Methods inherited from class oracle.security.xmlsec.saml.SAMLMessage
addSignature, addSignature, clearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, 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, 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

ResponseType

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

ResponseType

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

ResponseType

protected ResponseType(org.w3c.dom.Document owner,
                       java.lang.String uri,
                       java.lang.String localName)
                throws org.w3c.dom.DOMException
Creates a new ResponseType instance.
Parameters:
owner - The owner document of the new ResponseType.
nsURI - The namespace URI in which the new ResponseType is to be created.
localName - The localName of the element represented by the class that extends this abstract class.
Throws:
org.w3c.dom.DOMException

Method Detail

setResponseID

public void setResponseID(java.lang.String responseID)
Sets the identifier attribute for this ResponseType object.
Parameters:
responseID - A unique ID.

getResponseID

public java.lang.String getResponseID()
Returns the identifier attribute for this ResponseType.
Returns:
The String value of the ID or null if none has been set.

setInResponseTo

public void setInResponseTo(java.lang.String inResponseTo)
Sets the reference to the identifier of the request to which the response corresponds.
Parameters:
responseID - A unique ID.

getInResponseTo

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

setIssueInstant

public void setIssueInstant(java.util.Date issueInstant)
Sets the time instant of issue attribute as a UTC time.
Parameters:
issueInstant - The Date object representing the issue time.

getIssueInstant

public java.util.Date getIssueInstant()
Returns the time instant of issue attribute.
Returns:
A Date object representing the issue time or null if none has been set.

setRecipient

public void setRecipient(java.lang.String uri)
Sets the recipient attribute. Specifies the intended recipient of this response.
Parameters:
uri - A URI representing a recipient.

getRecipient

public java.lang.String getRecipient()
Gets the recipient attribute of this AttributeQuery element.
Returns:
A String object representing a URI.

getNSURIsPrecedeDSig

protected java.lang.String[] getNSURIsPrecedeDSig()
Description copied from class: SAMLMessage
Obtains the ordered set of the the namespace URIs for all the preceding sibling child elements of this Signature child element in the the Schema for the XML element that the implementing subclass targets for.
Specified by:
getNSURIsPrecedeDSig in class SAMLMessage

getLocalNamesPrecedeDSig

protected java.lang.String[] getLocalNamesPrecedeDSig()
Description copied from class: SAMLMessage
Obtains the ordered set of the local names of all the preceding sibling child elements of this Signature child element in the the Schema for the XML element that the implementing subclass targets for.
Specified by:
getLocalNamesPrecedeDSig in class SAMLMessage

getID

protected java.lang.String getID()
Description copied from class: SAMLMessage
Returns the ID attribute if any of this SAML message to be used for the signature operations.
Specified by:
getID in class SAMLMessage

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


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