SAMLCredentialImpl
public interface SAMLCredential
User: sychang Date: Jul 19, 2006 Time: 2:27:51 PM
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAssertionID() |
Deprecated.
AssertionID of SAML Assertion
|
SAMLAttributeStatementData |
getAttributes() |
Deprecated.
Get the SAMLAttributeStatemnetInfo or SAML2AttributeStatemnetInfo from the SAML Token
|
java.lang.Object |
getCredential() |
Deprecated.
get the crednetial object
|
org.w3c.dom.Element |
getEncryptedKey() |
Deprecated.
get the EncryptedKey Element object
|
EncryptedKeyProvider |
getEncryptedKeyProvider() |
Deprecated.
get EncryptedKeyProvider object
|
java.security.Key |
getHolderOfKey() |
Deprecated.
return sender's key for holder-of-key
|
java.security.PrivateKey |
getPrivateKey() |
Deprecated.
get the private key
|
java.security.Key |
getSymmetircKey() |
Deprecated.
return symmetric key for holder-of-key
|
java.lang.String |
getTokenType() |
Deprecated.
This method will return TokenType Attribute Value base on the SAML Token as following:
V1.1
http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
V2.0 http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0
|
java.lang.String |
getVersion() |
Deprecated.
|
java.security.cert.X509Certificate |
getX509Cert() |
Deprecated.
get the X509 Certificate in this SAML Token.
|
boolean |
isHolderOfKey() |
Deprecated.
check is this credential use HoK confirmation
|
boolean |
isSaml2() |
Deprecated.
|
void |
setAttributes(SAMLAttributeStatementData attributes) |
Deprecated.
Save the SAML Attributes into this SAML Token
|
void |
setCredential(java.lang.Object credential) |
Deprecated.
set the credential object
|
void |
setEncryptedKeyProvider(EncryptedKeyProvider encryptedKeyProvider) |
Deprecated.
set EncryptedKeyProvider object
|
void |
setPrivateKey(java.security.PrivateKey privateKey) |
Deprecated.
set the private key
|
void |
setSymmetircKey(java.security.Key symmetircKey) |
Deprecated.
set symmetric key for holder-of-key
|
java.lang.String getTokenType()
http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1
http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0
Null will be reutrned for SAML Token Profile 1.0 type of Token. as there is no Token Type for SAML Token Profile 1.0.
java.lang.String getVersion()
boolean isSaml2()
void setCredential(java.lang.Object credential)
credential
- SAML assertion node to setjava.lang.Object getCredential()
void setPrivateKey(java.security.PrivateKey privateKey)
privateKey
- private key to setjava.security.PrivateKey getPrivateKey()
java.lang.String getAssertionID()
boolean isHolderOfKey()
java.security.Key getHolderOfKey()
java.security.cert.X509Certificate getX509Cert()
SAMLAttributeStatementData getAttributes()
void setAttributes(SAMLAttributeStatementData attributes)
attributes
- SAMLAttributeStatementData object to be savedjava.security.Key getSymmetircKey()
void setSymmetircKey(java.security.Key symmetircKey)
symmetircKey
- the symmetric key for holder-of-keyorg.w3c.dom.Element getEncryptedKey()
EncryptedKeyProvider getEncryptedKeyProvider()
void setEncryptedKeyProvider(EncryptedKeyProvider encryptedKeyProvider)
encryptedKeyProvider
- EncryptedKeyProvider object to be set