public class NameIDMappingRequest extends RequestAbstract
VERSION| Constructor and Description |
|---|
NameIDMappingRequest(org.w3c.dom.Document owner)
Creates a new
NameIDMappingRequest instance. |
NameIDMappingRequest(org.w3c.dom.Element element)
Creates a new
NameIDMappingRequest instance from the given Element node. |
NameIDMappingRequest(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
NameIDMappingRequest instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
NameIDPolicy |
getNameIDPolicy()
Sets the name identifier constraints in the response.
|
SAML2NameIdentifier |
getSubjectNameIdentifier()
Returns the name identifier that specifies the principal.
|
void |
setNameIDPolicy(NameIDPolicy policy)
Sets the name identifier constraints in the response.
|
void |
setSubjectNameIdentifier(SAML2NameIdentifier nid)
Sets the name identifier that specifies the principal.
|
addSignature, addSignature, clearSignature, getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, 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 NameIDMappingRequest(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
NameIDMappingRequest instance from the given Element node.element - An NameIDMappingRequest element.org.w3c.dom.DOMException
public NameIDMappingRequest(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
NameIDMappingRequest instance from the given Element node.element - An NameIDMappingRequest element.systemId - The URI string system ID for the NameIDMappingRequest.org.w3c.dom.DOMException
public NameIDMappingRequest(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
NameIDMappingRequest instance.owner - The owner document of the new NameIDMappingRequest.org.w3c.dom.DOMExceptionpublic void setSubjectNameIdentifier(SAML2NameIdentifier nid)
nid - The name identifier.public SAML2NameIdentifier getSubjectNameIdentifier()
SAML2NameIdentifier or null if not specified.public void setNameIDPolicy(NameIDPolicy policy)
policy - The NameIDPolicy.public NameIDPolicy getNameIDPolicy()
NameIDPolicy or null if not specified.