public class AuthnResponse extends LibResponseMessage
LibAssertion, LibAuthenticationStatement, LibSubjectNO_AVAILABLE_IDP, NO_SUPPORTED_IDP, UNSUPPORTED_PROFILE| 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(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. 
 | 
addSignature, addSignature, getChildElementPosition, getId, getInstance, getProviderID, getRelayState, getStatus, setId, setProviderID, setRelayState, setStatusgetID, getInResponseTo, 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)
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.public void addAssertion(Assertion assertion)
assertion - An LibAssertion object.public java.util.List getAssertions()
List containing LibAssertion objects, or an empty List if none has been set.protected java.lang.String[] getChildElementsNSURIs()
LibResponseMessagegetChildElementsNSURIs in class LibResponseMessageprotected java.lang.String[] getChildElementsLocalNames()
LibResponseMessagegetChildElementsLocalNames in class LibResponseMessage