public class AuthnResponse extends LibResponseMessage
LibAssertion, LibAuthenticationStatement, LibSubject| Constructor and Description | 
|---|
AuthnResponse(org.w3c.dom.Document owner)
Creates a new  
AuthnResponse instance within the specified XML Document. | 
AuthnResponse(org.w3c.dom.Document owner, java.lang.String responseId, java.util.Date issueInstant, java.lang.String providerId)
Creates a new  
AuthnResponse instance within the specified XML Document. | 
AuthnResponse(org.w3c.dom.Element element)
Creates a new  
AuthnResponse instance from the given Element node. | 
AuthnResponse(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new  
AuthnResponse instance from the given Element node. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAssertion(oracle.security.xmlsec.saml.Assertion assertion)
Adds a Liberty Assertion element to this response. 
 | 
java.util.List | 
getAssertions()
Gets the list of Liberty authentication assertions contained in this response. 
 | 
protected java.lang.String[] | 
getChildElementsLocalNames()
Returns the orderded set of the local names of the child elements specified in the schema for the XML element represented by the concrete subclass. 
 | 
protected java.lang.String[] | 
getChildElementsNSURIs()
Returns the orderded set of the namespce URIs for the child elements specified in the schema for the XML element represented by the concrete subclass. 
 | 
java.lang.String | 
getConsent()
Returns the value of this AuthnResponse element's consent attribute, or  
null if the attribute is not specified. | 
void | 
setConsent(java.lang.String consent)
Sets the value of this AuthnResponse element's consent attribute. 
 | 
addSignature, addSignature, getChildElementPosition, getID, getInstance, getProviderID, getRelayState, getStatus, setProviderID, setRelayState, setStatusgetInResponseTo, getIssueInstant, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, getRecipient, getResponseID, setInResponseTo, setIssueInstant, setRecipient, setResponseIDclearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, setVersion, sign, sign, verify, verifyaddNSPrefixAttr, 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, toStringXML
public AuthnResponse(org.w3c.dom.Element element)
              throws org.w3c.dom.DOMException
AuthnResponse instance from the given Element node.element - A Liberty AuthnResponse XML element.org.w3c.dom.DOMException
public AuthnResponse(org.w3c.dom.Element element,
             java.lang.String systemId)
              throws org.w3c.dom.DOMException
AuthnResponse instance from the given Element node.element - A Liberty AuthnResponse XML element.systemId - The URI string system ID for the AuthnResponse.org.w3c.dom.DOMException
public AuthnResponse(org.w3c.dom.Document owner)
              throws org.w3c.dom.DOMException
AuthnResponse instance within the specified XML Document.owner - The owner document of the new Liberty AuthnResponse element.org.w3c.dom.DOMException
public AuthnResponse(org.w3c.dom.Document owner,
             java.lang.String responseId,
             java.util.Date issueInstant,
             java.lang.String providerId)
              throws org.w3c.dom.DOMException
AuthnResponse instance within the specified XML Document.owner - The owner document of the new Liberty AuthnResponse element.responseId - The ResponseID attribute.issueInstant - The IssueInstant attribute.providerId - The ProviderID child element.org.w3c.dom.DOMExceptionpublic void addAssertion(oracle.security.xmlsec.saml.Assertion assertion)
assertion - An LibAssertion object.public java.util.List getAssertions()
List containing LibAssertion objects, or an empty List if none has been set.
public void setConsent(java.lang.String consent)
                throws org.w3c.dom.DOMException
consent - The attribute value.org.w3c.dom.DOMExceptionpublic java.lang.String getConsent()
null if the attribute is not specified.protected java.lang.String[] getChildElementsNSURIs()
LibResponseMessagegetChildElementsNSURIs in class LibResponseMessageprotected java.lang.String[] getChildElementsLocalNames()
LibResponseMessagegetChildElementsLocalNames in class LibResponseMessage