public abstract class WSCSecurityContextToken extends WSSElement implements WSSXMLSecurityToken
Modifier and Type | Class and Description |
---|---|
static class |
WSCSecurityContextToken.WSCSecurityContextToken12 |
static class |
WSCSecurityContextToken.WSCSecurityContextToken13 |
Modifier | Constructor and Description |
---|---|
protected |
WSCSecurityContextToken(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) |
protected |
WSCSecurityContextToken(org.w3c.dom.Element element) |
protected |
WSCSecurityContextToken(org.w3c.dom.Element element, java.lang.String systemId) |
Modifier and Type | Method and Description |
---|---|
static void |
addResolver(WSCSecurityContextTokenResolver resolver)
Register a
WSCSecurityContextTokenResolver instance for use in resolver operations. |
java.lang.String |
getIdentifier()
Get the value of the <wsc:Identifier>
|
java.lang.String |
getInstance()
Get the value of the <wsc:Instance>
|
javax.crypto.SecretKey |
getKey() |
protected abstract java.lang.String[] |
getNsURIs() |
static java.util.List<WSCSecurityContextTokenResolver> |
getResolvers()
Get the registered
WSCSecurityContextTokenResolver s. |
java.lang.Object |
getToken()
Returns the underlying token.
|
oracle.security.xmlsec.util.QName |
getTokenName()
Returns the
QName of the security token. |
void |
setIdentifier(java.lang.String identifier)
Set the identifier, call with null to remove the identifier
|
void |
setInstance(java.lang.String instance)
Set the instance, call with null to remove the instance
|
getId, getWsuId, setId, setWsuId
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNode
protected WSCSecurityContextToken(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
protected WSCSecurityContextToken(org.w3c.dom.Element element, java.lang.String systemId)
protected WSCSecurityContextToken(org.w3c.dom.Element element)
public static void addResolver(WSCSecurityContextTokenResolver resolver)
WSCSecurityContextTokenResolver
instance for use in resolver operations.resolver
- The sct resolver.public static java.util.List<WSCSecurityContextTokenResolver> getResolvers()
WSCSecurityContextTokenResolver
s.List
of registered sct resolvers.public java.lang.Object getToken() throws WSSException
WSSecurityToken
Please see sub-classes for information about the Java Object returned.
getToken
in interface WSSecurityToken
WSSException
public javax.crypto.SecretKey getKey()
public oracle.security.xmlsec.util.QName getTokenName()
WSSecurityToken
QName
of the security token.getTokenName
in interface WSSecurityToken
protected abstract java.lang.String[] getNsURIs()
public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
identifier
-public java.lang.String getInstance()
public void setInstance(java.lang.String instance)
instance
-