public class AuthnResponseEnvelope
extends oracle.security.xmlsec.util.XMLElement
AuthnResponse,
AuthnRequest,
AuthnRequestEnvelope| Constructor and Description |
|---|
AuthnResponseEnvelope(org.w3c.dom.Document owner)
Creates a new
AuthnResponseEnvelope instance within the specified
XML Document. |
AuthnResponseEnvelope(org.w3c.dom.Document owner,
java.lang.String acsURL)
Creates a new
AuthnResponseEnvelope instance within the specified
XML Document. |
AuthnResponseEnvelope(org.w3c.dom.Element element)
Creates a new
AuthnResponseEnvelope instance from the given
Element node. |
AuthnResponseEnvelope(org.w3c.dom.Element element,
java.lang.String systemId)
Creates a new
AuthnResponseEnvelope instance from the given
Element node. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAssertionConsumerServiceURL()
Returns the service provider's URL contained in the AssertionConsumerServiceURL
child element of this AuthnRequestEnvelope, or
null if no
AssertionConsumerServiceURL element has been sent. |
AuthnResponse |
getAuthnResponse()
Gets the AuthnResponse element wrapped in this element, or
null
if no AuthnResponse element is present. |
void |
setAssertionConsumerServiceURL(java.lang.String serviceURL)
Set the value of the AssertionConsumerServiceURL child element in this AuthnResponseEnvelope
element.
|
void |
setAuthnResponse(AuthnResponse response)
Sets the AuthnResponse child element of this element.
|
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, setDefaultNSPrefixappendChild, 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, toStringXMLpublic AuthnResponseEnvelope(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AuthnResponseEnvelope instance from the given
Element node.element - A Liberty AuthnResponseEnvelope XML element.org.w3c.dom.DOMExceptionpublic AuthnResponseEnvelope(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AuthnResponseEnvelope instance from the given
Element node.element - A Liberty AuthnResponseEnvelope XML element.systemId - The URI string system ID for the AuthnResponseEnvelope.org.w3c.dom.DOMExceptionpublic AuthnResponseEnvelope(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AuthnResponseEnvelope instance within the specified
XML Document.owner - The owner document of the new Liberty AuthnResponseEnvelope element.org.w3c.dom.DOMExceptionpublic AuthnResponseEnvelope(org.w3c.dom.Document owner,
java.lang.String acsURL)
throws org.w3c.dom.DOMException
AuthnResponseEnvelope instance within the specified
XML Document.owner - The owner document of the new Liberty AuthnResponseEnvelope element.acsURL - The AssertionConsumerServiceURL child element.org.w3c.dom.DOMExceptionpublic void setAuthnResponse(AuthnResponse response)
public AuthnResponse getAuthnResponse()
null
if no AuthnResponse element is present.AuthnResponse object.public void setAssertionConsumerServiceURL(java.lang.String serviceURL)
serviceURL - The service provider's URL.public java.lang.String getAssertionConsumerServiceURL()
null if no
AssertionConsumerServiceURL element has been sent.