XMLStructure, KeyInfoObjectFactory, SecurityTokenReference, WLDOMStructureSAMLSecurityTokenReferencepublic class SecurityTokenReferenceImpl extends java.lang.Object implements SecurityTokenReference, KeyInfoObjectFactory
| Modifier and Type | Method | Description |
|---|---|---|
static SecurityTokenReference |
createAndUnmarshal(org.w3c.dom.Node node) |
|
java.lang.String |
getId() |
|
X509IssuerSerial |
getIssuerSerial() |
|
KeyIdentifier |
getKeyIdentifier() |
|
protected static java.lang.String |
getPrefix(java.util.Map namespaces,
java.lang.String ns,
java.lang.String defaultPrefix) |
|
javax.xml.namespace.QName |
getQName() |
|
java.lang.String |
getReferenceURI() |
|
SecurityToken |
getSecurityToken() |
|
static org.w3c.dom.Node |
getStrNode(SecurityTokenReference str) |
|
javax.xml.namespace.QName |
getSTRType() |
|
java.lang.String |
getUsage() |
|
java.lang.String |
getValueType() |
|
boolean |
isFeatureSupported(java.lang.String feature) |
|
void |
marshal(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces) |
Creates a Node, serializes the object to it and adds it as a child to the
parent element.
|
protected void |
marshalAttributes(org.w3c.dom.Element str,
java.util.Map namespaces) |
|
org.w3c.dom.Node |
marshalDirectRef(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces,
java.lang.String uri) |
|
org.w3c.dom.Node |
marshalEmbeddedRef(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces,
SecurityToken token) |
|
protected org.w3c.dom.Element |
marshalInternal(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces) |
|
org.w3c.dom.Node |
marshalKeyIdRef(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces,
KeyIdentifier keyId) |
|
java.lang.Object |
newKeyInfoObject(javax.xml.stream.XMLStreamReader reader) |
|
static void |
register(SecurityTokenHandler handler) |
|
void |
setId(java.lang.String id) |
|
void |
setKeyIdentifier(KeyIdentifier keyId) |
|
void |
setReferenceURI(java.lang.String uri) |
|
void |
setSTRType(javax.xml.namespace.QName STRType) |
|
void |
setValueType(java.lang.String valueType) |
|
void |
unmarshal(org.w3c.dom.Node node) |
Deserializes the object from a node.
|
void |
unmarshalDirectRef(org.w3c.dom.Element STRTypeNode) |
|
void |
unmarshalEmbeddedRef(org.w3c.dom.Element STRTypeNode) |
|
protected void |
unmarshalInternal(org.w3c.dom.Node node) |
|
void |
unmarshalKeyIdRef(org.w3c.dom.Element STRTypeNode) |
public static void register(SecurityTokenHandler handler)
public java.lang.String getValueType()
getValueType in interface SecurityTokenReferencepublic javax.xml.namespace.QName getSTRType()
getSTRType in interface SecurityTokenReferencepublic void setSTRType(javax.xml.namespace.QName STRType)
setSTRType in interface SecurityTokenReferencepublic X509IssuerSerial getIssuerSerial()
getIssuerSerial in interface SecurityTokenReferencepublic void setValueType(java.lang.String valueType)
setValueType in interface SecurityTokenReferencepublic java.lang.String getId()
getId in interface SecurityTokenReferencepublic void setId(java.lang.String id)
setId in interface SecurityTokenReferencepublic java.lang.String getUsage()
public KeyIdentifier getKeyIdentifier()
getKeyIdentifier in interface SecurityTokenReferencepublic void setKeyIdentifier(KeyIdentifier keyId)
setKeyIdentifier in interface SecurityTokenReferencepublic java.lang.String getReferenceURI()
getReferenceURI in interface SecurityTokenReferencepublic void setReferenceURI(java.lang.String uri)
setReferenceURI in interface SecurityTokenReferencepublic SecurityToken getSecurityToken()
getSecurityToken in interface SecurityTokenReferencepublic void marshal(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces)
throws MarshalException
WLDOMStructuremarshal in interface WLDOMStructureparent - Parent element of the node.nextSibling - Sibling the node is inserted before. If nextSibling is null,
the node has to be appended at the end.namespaces - Namespace-prefix to URI mapping scoped for the node to create.MarshalExceptionpublic void unmarshal(org.w3c.dom.Node node)
throws MarshalException
WLDOMStructureunmarshal in interface WLDOMStructurenode - Node the object is deserialzed from.MarshalExceptionprotected void unmarshalInternal(org.w3c.dom.Node node)
public static SecurityTokenReference createAndUnmarshal(org.w3c.dom.Node node) throws MarshalException
MarshalExceptionpublic javax.xml.namespace.QName getQName()
getQName in interface KeyInfoObjectFactorypublic java.lang.Object newKeyInfoObject(javax.xml.stream.XMLStreamReader reader)
throws MarshalException
newKeyInfoObject in interface KeyInfoObjectFactoryMarshalExceptionpublic boolean isFeatureSupported(java.lang.String feature)
isFeatureSupported in interface XMLStructureprotected org.w3c.dom.Element marshalInternal(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces)
protected void marshalAttributes(org.w3c.dom.Element str,
java.util.Map namespaces)
protected static java.lang.String getPrefix(java.util.Map namespaces,
java.lang.String ns,
java.lang.String defaultPrefix)
public org.w3c.dom.Node marshalDirectRef(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces,
java.lang.String uri)
public org.w3c.dom.Node marshalEmbeddedRef(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces,
SecurityToken token)
throws MarshalException
MarshalExceptionpublic org.w3c.dom.Node marshalKeyIdRef(org.w3c.dom.Element parent,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces,
KeyIdentifier keyId)
throws MarshalException
MarshalExceptionpublic void unmarshalDirectRef(org.w3c.dom.Element STRTypeNode)
public void unmarshalKeyIdRef(org.w3c.dom.Element STRTypeNode)
throws MarshalException
MarshalExceptionpublic void unmarshalEmbeddedRef(org.w3c.dom.Element STRTypeNode)
throws MarshalException
MarshalExceptionpublic static org.w3c.dom.Node getStrNode(SecurityTokenReference str) throws MarshalException
MarshalException