Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


oracle.security.xmlsec.saml2.protocol
Class NameIDMappingRequest

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.protocol.RequestAbstract
              extended by oracle.security.xmlsec.saml2.protocol.NameIDMappingRequest


public class NameIDMappingRequest
extends RequestAbstract

Represents a request message sent to the identity provider for an alternate name identifier in a particular format and federated namespace.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.saml2.protocol.RequestAbstract
VERSION

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.security.xmlsec.saml2.protocol.RequestAbstract
addSignature, addSignature, clearSignature, getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isSigned, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, sign, verify, verify

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
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

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

NameIDMappingRequest

public NameIDMappingRequest(org.w3c.dom.Element element)
                     throws org.w3c.dom.DOMException
Creates a new NameIDMappingRequest instance from the given Element node.
Parameters:
element - An NameIDMappingRequest element.
Throws:
org.w3c.dom.DOMException

NameIDMappingRequest

public NameIDMappingRequest(org.w3c.dom.Element element,
                            java.lang.String systemId)
                     throws org.w3c.dom.DOMException
Creates a new NameIDMappingRequest instance from the given Element node.
Parameters:
element - An NameIDMappingRequest element.
systemId - The URI string system ID for the NameIDMappingRequest.
Throws:
org.w3c.dom.DOMException

NameIDMappingRequest

public NameIDMappingRequest(org.w3c.dom.Document owner)
                     throws org.w3c.dom.DOMException
Creates a new NameIDMappingRequest instance.
Parameters:
owner - The owner document of the new NameIDMappingRequest.
Throws:
org.w3c.dom.DOMException

Method Detail

setSubjectNameIdentifier

public void setSubjectNameIdentifier(SAML2NameIdentifier nid)
Sets the name identifier that specifies the principal.
Parameters:
nid - The name identifier.

getSubjectNameIdentifier

public SAML2NameIdentifier getSubjectNameIdentifier()
Returns the name identifier that specifies the principal.
Returns:
The SAML2NameIdentifier or null if not specified.

setNameIDPolicy

public void setNameIDPolicy(NameIDPolicy policy)
Sets the name identifier constraints in the response.
Parameters:
policy - The NameIDPolicy.

getNameIDPolicy

public NameIDPolicy getNameIDPolicy()
Sets the name identifier constraints in the response.
Returns:
The NameIDPolicy or null if not specified.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


Copyright © 2005, 2011 , Oracle. All rights reserved.