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

B28174-01


oracle.security.xmlsec.saml2.protocol
Class ManageNameIDRequest

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.ManageNameIDRequest


public class ManageNameIDRequest
extends RequestAbstract

Represents a name identifier management request that can be used to either change or terminate the name identifier.


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
  ManageNameIDRequest(org.w3c.dom.Document owner)
          Creates a new ManageNameIDRequest instance.
protected ManageNameIDRequest(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new ManageNameIDRequest instance.
  ManageNameIDRequest(org.w3c.dom.Element element)
          Creates a new ManageNameIDRequest instance from the given Element node.
  ManageNameIDRequest(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new ManageNameIDRequest instance from the given Element node.

 

Method Summary
 oracle.security.xmlsec.util.XMLElement getNewIdentifier()
          Return the new identifier value.
 SAML2NameIdentifier getPrincipalNameIdentifier()
          Returns the name identifier.
 void setNewIdentifier(oracle.security.xmlsec.util.XMLElement obj)
          Sets the new identifier value.
 void setPrincipalNameIdentifier(SAML2NameIdentifier nid)
          Sets the name identifier.

 

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

ManageNameIDRequest

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

ManageNameIDRequest

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

ManageNameIDRequest

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

ManageNameIDRequest

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

Method Detail

setPrincipalNameIdentifier

public void setPrincipalNameIdentifier(SAML2NameIdentifier nid)
Sets the name identifier.
Parameters:
nid - The unencrypted NameID or encrypted EncryptedID.

getPrincipalNameIdentifier

public SAML2NameIdentifier getPrincipalNameIdentifier()
Returns the name identifier.
Returns:
The unencryptedNameID or encrypted EncryptedID.

setNewIdentifier

public void setNewIdentifier(oracle.security.xmlsec.util.XMLElement obj)
Sets the new identifier value.

Only NewID, NewEncryptedID and Terminate are recognized.

Parameters:
obj - The new identifier value.

getNewIdentifier

public oracle.security.xmlsec.util.XMLElement getNewIdentifier()
Return the new identifier value.
Returns:
A NewID, NewEncryptedID or Terminate object 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.