public class FederationTerminationNotification extends LibRequestMessage
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT
Constructor and Description |
---|
FederationTerminationNotification(org.w3c.dom.Document owner)
Creates a new
FederationTerminationNotification instance within the specified XML Document. |
FederationTerminationNotification(org.w3c.dom.Document owner, java.lang.String requestId, java.util.Date issueInstant, java.lang.String providerId)
Creates a new
FederationTerminationNotification instance within the specified XML Document. |
FederationTerminationNotification(org.w3c.dom.Element element)
Creates a new
FederationTerminationNotification instance from the given Element node. |
FederationTerminationNotification(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
FederationTerminationNotification instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
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 FederationTerminationNotification element's consent attribute, or
null if the attribute is not specified. |
NameIdentifier |
getNameIdentifier()
Returns the saml:NameIdentifier element contained in this element, or
null if no saml:NameIdentifier element is present. |
void |
setConsent(java.lang.String consent)
Sets the value of this FederationTerminationNotification element's consent attribute.
|
void |
setNameIdentifier(NameIdentifier nameId)
Sets the saml:NameIdentifier child element in this element.
|
java.lang.String |
toURLString(java.security.PrivateKey key, java.lang.String sigAlg)
Returns this
FederationTerminationNotification as a URL-encoded query string, optionally signed using the given private key and signature algorithm. |
addSignature, addSignature, getChildElementPosition, getID, getInstance, getProviderID, setProviderID
addRespondWith, addRespondWithValue, getIssueInstant, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, getRequestID, getRespondWiths, getRespondWithValues, setIssueInstant, setRequestID
clearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, setVersion, sign, sign, sign, sign, verify, verify
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
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
public FederationTerminationNotification(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
FederationTerminationNotification
instance from the given Element node.element
- A Liberty FederationTerminationNotification XML element.org.w3c.dom.DOMException
public FederationTerminationNotification(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
FederationTerminationNotification
instance from the given Element node.element
- A Liberty FederationTerminationNotification XML element.systemId
- The URI string system ID for the FederationTerminationNotification
.org.w3c.dom.DOMException
public FederationTerminationNotification(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
FederationTerminationNotification
instance within the specified XML Document.owner
- The owner document of the new Liberty FederationTerminationNotification element.org.w3c.dom.DOMException
public FederationTerminationNotification(org.w3c.dom.Document owner, java.lang.String requestId, java.util.Date issueInstant, java.lang.String providerId) throws org.w3c.dom.DOMException
FederationTerminationNotification
instance within the specified XML Document.owner
- The owner document of the new Liberty FederationTerminationNotification element.requestId
- The RequestID
attribute.issueInstant
- The IssueInstant
attribute.providerId
- The ProviderID
child element.org.w3c.dom.DOMException
public void setNameIdentifier(NameIdentifier nameId)
public NameIdentifier getNameIdentifier()
null
if no saml:NameIdentifier element is present.NameIdentifier
object.public void setConsent(java.lang.String consent) throws org.w3c.dom.DOMException
consent
- The attribute value.org.w3c.dom.DOMException
public java.lang.String getConsent()
null
if the attribute is not specified.public java.lang.String toURLString(java.security.PrivateKey key, java.lang.String sigAlg) throws SigningException
FederationTerminationNotification
as a URL-encoded query string, optionally signed using the given private key and signature algorithm.key
- The private signing key. If null
, the query string will not be signed.sigAlg
- The URI identifying the signature algorithm to use. If null
, the query string will not be signed.SigningException
- If an error occurs computing the signature.protected java.lang.String[] getChildElementsNSURIs()
LibRequestMessage
getChildElementsNSURIs
in class LibRequestMessage
protected java.lang.String[] getChildElementsLocalNames()
LibRequestMessage
getChildElementsLocalNames
in class LibRequestMessage