Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


oracle.security.xmlsec.saml2.protocol
Class NameIDMappingRequest

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.protocol.RequestAbstract
              extended byoracle.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.
protected NameIDMappingRequest(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          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, 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.

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.

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.

NameIDMappingRequest

protected NameIDMappingRequest(org.w3c.dom.Document owner,
                               java.lang.String nsURI,
                               java.lang.String localName)
                        throws org.w3c.dom.DOMException
Creates a new NameIDMappingRequest instance. This constructor is for use in subclass for extension of the NameIDMappingRequest element.
Parameters:
owner - The owner document of the new NameIDMappingRequest.
nsURI - The namespace URI in which the new NameIDMappingRequest is to be created.
localName - The localName of the element represented by the class that extends this class.

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.

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


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