java.io.Serializable, SAMLToken, XMLStructure, SecurityToken, WLDOMStructureSAMLTrustTokenpublic class SAMLTokenImpl extends SecurityTokenImpl implements SAMLToken
| Constructor | Description |
|---|---|
SAMLTokenImpl() |
Deprecated.
|
SAMLTokenImpl(java.lang.Object cred) |
Deprecated.
|
SAMLTokenImpl(java.lang.String valueType,
java.lang.Object cred) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
Deprecated.
|
java.lang.String |
getAssertionID() |
Deprecated.
|
java.lang.Object |
getCredential() |
Deprecated.
|
java.security.cert.X509Certificate |
getHolderOfCert() |
Deprecated.
|
java.lang.String |
getId() |
Deprecated.
|
java.security.PrivateKey |
getPrivateKey() |
Deprecated.
|
java.security.PublicKey |
getPublicKey() |
Deprecated.
|
java.security.Key |
getSecretKey() |
Deprecated.
|
javax.security.auth.Subject |
getSubject() |
Deprecated.
|
java.lang.String |
getValueType() |
Deprecated.
|
int |
hashCode() |
Deprecated.
|
boolean |
isFeatureSupported(java.lang.String s) |
Deprecated.
|
boolean |
isHolderOfKey() |
Deprecated.
|
boolean |
isSaml2() |
Deprecated.
|
void |
marshal(org.w3c.dom.Element parentElement,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces) |
Deprecated.
Creates a Node, serializes the object to it and adds it as a child to the
parent element.
|
void |
setId(java.lang.String id) |
Deprecated.
|
void |
setSubject(javax.security.auth.Subject subject) |
Deprecated.
|
void |
unmarshal(org.w3c.dom.Node node) |
Deprecated.
Deserializes the object from a node.
|
public SAMLTokenImpl()
public SAMLTokenImpl(java.lang.Object cred)
public SAMLTokenImpl(java.lang.String valueType,
java.lang.Object cred)
public java.lang.Object getCredential()
getCredential in interface SecurityTokengetCredential in class SecurityTokenImplpublic java.lang.String getValueType()
getValueType in interface SecurityTokengetValueType in class SecurityTokenImplpublic java.lang.String getId()
getId in interface SecurityTokengetId in class SecurityTokenImplpublic void setId(java.lang.String id)
setId in interface SecurityTokensetId in class SecurityTokenImplpublic java.security.PrivateKey getPrivateKey()
getPrivateKey in interface SecurityTokengetPrivateKey in class SecurityTokenImplpublic java.security.PublicKey getPublicKey()
getPublicKey in interface SecurityTokengetPublicKey in class SecurityTokenImplpublic java.security.Key getSecretKey()
getSecretKey in interface SecurityTokengetSecretKey in class SecurityTokenImplpublic java.security.cert.X509Certificate getHolderOfCert()
getHolderOfCert in interface SAMLTokenpublic javax.security.auth.Subject getSubject()
getSubject in interface SAMLTokenpublic void setSubject(javax.security.auth.Subject subject)
setSubject in interface SAMLTokenpublic void marshal(org.w3c.dom.Element parentElement,
org.w3c.dom.Node nextSibling,
java.util.Map namespaces)
throws MarshalException
WLDOMStructuremarshal in interface WLDOMStructureparentElement - 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
unmarshal in interface WLDOMStructurenode - Node the object is deserialzed from.MarshalExceptionpublic boolean isFeatureSupported(java.lang.String s)
isFeatureSupported in interface XMLStructurepublic java.lang.String getAssertionID()
getAssertionID in interface SAMLTokenpublic boolean isHolderOfKey()
isHolderOfKey in interface SAMLTokenpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object