Skip navigation links

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

E10676-05


oracle.security.xmlsec.saml2.ac
Class Token

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.ac.Token


public class Token
extends oracle.security.xmlsec.util.XMLElement

Represents a Token used to identify the Principal.


Field Summary

 

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

 

Constructor Summary
  Token(org.w3c.dom.Document owner, java.lang.String nsURI)
          Creates a new Token instance.
protected Token(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new Token instance.
  Token(org.w3c.dom.Element element)
          Creates a new Token instance from the given Element node.
  Token(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new Token instance from the given Element node.

 

Method Summary
 void addExtension(Extension extn)
          Adds an extension element..
 java.util.List getExtensions()
          Gets the list of Extension values.
 TimeSyncToken getTimeSyncToken()
          Returns the time synchronization token.
 void setTimeSyncToken(TimeSyncToken tst)
          Sets the time synchronization token.

 

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

Token

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

Token

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

Token

public Token(org.w3c.dom.Document owner,
             java.lang.String nsURI)
      throws org.w3c.dom.DOMException
Creates a new Token instance.
Parameters:
owner - The owner document of the new Token.
nsURI - The namespace URI in which the new Token is to be created.
Throws:
org.w3c.dom.DOMException

Token

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

Method Detail

setTimeSyncToken

public void setTimeSyncToken(TimeSyncToken tst)
Sets the time synchronization token.
Parameters:
tst - The TimeSyncToken object.

getTimeSyncToken

public TimeSyncToken getTimeSyncToken()
Returns the time synchronization token.
Returns:
The TimeSyncToken object or null if not present.

addExtension

public void addExtension(Extension extn)
Adds an extension element..
Parameters:
extn - The extension Node.

getExtensions

public java.util.List getExtensions()
Gets the list of Extension values.
Returns:
A List containing Extension values, or an empty List if none has been added.

Skip navigation links

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

E10676-05


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