Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


oracle.security.xmlsec.wss.saml
Class SAMLAssertionToken

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml.SAMLMessage
              extended byoracle.security.xmlsec.saml.Assertion
                  extended byoracle.security.xmlsec.wss.saml.SAMLAssertionToken

All Implemented Interfaces:
WSSecurityToken, WSSXMLSecurityToken

public class SAMLAssertionToken
extends oracle.security.xmlsec.saml.Assertion
implements WSSXMLSecurityToken

This class represents a SAML Assertion for use as a WSS Security Token.


Field Summary

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

Constructor Summary
SAMLAssertionToken(oracle.security.xmlsec.saml.Assertion assertion)
Create a new SAMLAssertionToken instance from the given saml:Assertion element.
SAMLAssertionToken(org.w3c.dom.Element element)
Create a new SAMLAssertionToken instance from the given XML element.
SAMLAssertionToken(org.w3c.dom.Element element, java.lang.String systemId)
Create a new SAMLAssertionToken instance from the given XML element.

Method Summary
java.lang.Object getToken()
Get the token contents.
oracle.security.xmlsec.util.QName getTokenName()
Returns the Token Name.

Methods inherited from class oracle.security.xmlsec.saml.Assertion
addStatement, getAdvice, getAssertionID, getAttributeStatements, getAuthenticationStatements, getAuthorizationDecisionStatements, getConditions, getID, getIssueInstant, getIssuer, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, setAdvice, setAssertionID, setConditions, setIssueInstant, setIssuer

Methods inherited from class oracle.security.xmlsec.saml.SAMLMessage
addSignature, addSignature, clearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, 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

Methods inherited from interface oracle.security.xmlsec.wss.WSSecurityToken
getNode

Constructor Detail

SAMLAssertionToken

public SAMLAssertionToken(org.w3c.dom.Element element)
Create a new SAMLAssertionToken instance from the given XML element.
Parameters:
element - A SAML Assertion Token element.

SAMLAssertionToken

public SAMLAssertionToken(org.w3c.dom.Element element,
                          java.lang.String systemId)
Create a new SAMLAssertionToken instance from the given XML element.
Parameters:
element - A saml:Assertion element.
systemId - The URI string system ID for this element.

SAMLAssertionToken

public SAMLAssertionToken(oracle.security.xmlsec.saml.Assertion assertion)
Create a new SAMLAssertionToken instance from the given saml:Assertion element.
Parameters:
assertion - A saml:Assertion element.

Method Detail

getTokenName

public oracle.security.xmlsec.util.QName getTokenName()
Returns the Token Name.
Specified by:
getTokenName in interface WSSecurityToken
Returns:
The QName of this token's name.

getToken

public java.lang.Object getToken()
Get the token contents.

Returns a oracle.security.xmlsec.saml.Assertion object from the SAML assertion token.

Specified by:
getToken in interface WSSecurityToken
Returns:
The SAML assertion.

Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


Copyright © 2005 , Oracle. All rights reserved.