public class SAMLTokenImpl extends SecurityTokenImpl implements SAMLToken
Constructor and Description |
---|
SAMLTokenImpl()
Deprecated.
|
SAMLTokenImpl(Object cred)
Deprecated.
|
SAMLTokenImpl(String valueType,
Object cred)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
String |
getAssertionID()
Deprecated.
|
Object |
getCredential()
Deprecated.
|
X509Certificate |
getHolderOfCert()
Deprecated.
|
String |
getId()
Deprecated.
|
PrivateKey |
getPrivateKey()
Deprecated.
|
PublicKey |
getPublicKey()
Deprecated.
|
Key |
getSecretKey()
Deprecated.
|
Subject |
getSubject()
Deprecated.
|
String |
getValueType()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isFeatureSupported(String s)
Deprecated.
|
boolean |
isHolderOfKey()
Deprecated.
|
boolean |
isSaml2()
Deprecated.
|
void |
marshal(Element parentElement,
Node nextSibling,
Map namespaces)
Deprecated.
Creates a Node, serializes the object to it and adds it as a child to the
parent element.
|
void |
setId(String id)
Deprecated.
|
void |
setSubject(Subject subject)
Deprecated.
|
void |
unmarshal(Node node)
Deprecated.
Deserializes the object from a node.
|
public SAMLTokenImpl()
public SAMLTokenImpl(Object cred)
public Object getCredential()
getCredential
in interface SecurityToken
getCredential
in class SecurityTokenImpl
public String getValueType()
getValueType
in interface SecurityToken
getValueType
in class SecurityTokenImpl
public String getId()
getId
in interface SecurityToken
getId
in class SecurityTokenImpl
public void setId(String id)
setId
in interface SecurityToken
setId
in class SecurityTokenImpl
public PrivateKey getPrivateKey()
getPrivateKey
in interface SecurityToken
getPrivateKey
in class SecurityTokenImpl
public PublicKey getPublicKey()
getPublicKey
in interface SecurityToken
getPublicKey
in class SecurityTokenImpl
public Key getSecretKey()
getSecretKey
in interface SecurityToken
getSecretKey
in class SecurityTokenImpl
public X509Certificate getHolderOfCert()
getHolderOfCert
in interface SAMLToken
public Subject getSubject()
getSubject
in interface SAMLToken
public void setSubject(Subject subject)
setSubject
in interface SAMLToken
public void marshal(Element parentElement, Node nextSibling, Map namespaces) throws MarshalException
WLDOMStructure
marshal
in interface WLDOMStructure
parentElement
- 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.MarshalException
public void unmarshal(Node node) throws MarshalException
unmarshal
in interface WLDOMStructure
node
- Node the object is deserialzed from.MarshalException
public boolean isFeatureSupported(String s)
isFeatureSupported
in interface XMLStructure
public String getAssertionID()
getAssertionID
in interface SAMLToken
public boolean isHolderOfKey()
isHolderOfKey
in interface SAMLToken