public class WSSEmbedded extends WSSElement implements WSSecurityTokenReferenceType
| Constructor and Description |
|---|
WSSEmbedded(org.w3c.dom.Document owner)
Create a new
WSSEmbedded instance. |
WSSEmbedded(org.w3c.dom.Element element)
Create a new
WSSEmbedded instance from the given XML element. |
WSSEmbedded(org.w3c.dom.Element element, java.lang.String systemId)
Create a new
WSSEmbedded instance from the given XML element. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getKey()
Returns the key (symmetric or asymmetric) corresponding to the underlying WSS SecurityToken.
|
oracle.security.xmlsec.util.QName |
getName()
Get the name of the security token reference mechanism.
|
WSSecurityToken |
getSecurityToken()
Gets the
SecurityToken embedded in this structure. |
void |
setSecurityToken(WSSecurityToken token)
Embeds the given Security Token to this structure.
|
getId, getWsuId, setId, setWsuIdaddNSPrefixAttr, 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, setDefaultNSPrefixappendChild, 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, toStringXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNodepublic WSSEmbedded(org.w3c.dom.Element element)
WSSEmbedded instance from the given XML element.element - A wsse:Embedded element.
public WSSEmbedded(org.w3c.dom.Element element,
java.lang.String systemId)
WSSEmbedded instance from the given XML element.element - A wsse:Embedded element.systemId - The URI string system ID for this element.public WSSEmbedded(org.w3c.dom.Document owner)
WSSEmbedded instance.owner - A XML Document to be used as the owner document of this structure.public void setSecurityToken(WSSecurityToken token)
token - The security token to embed.public WSSecurityToken getSecurityToken() throws WSSException
SecurityToken embedded in this structure.getSecurityToken in interface WSSecurityTokenReferenceTypeWSSExceptionpublic oracle.security.xmlsec.util.QName getName()
getName in interface WSSecurityTokenReferenceType
public java.lang.Object getKey()
throws WSSException
**** NOT IMPLEMENTED ****
getKey in interface WSSecurityTokenReferenceTypeKey.WSSException