|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.wsee.security.saml.SAMLCredentialImpl
public class SAMLCredentialImpl
User: sychang Date: Jul 19, 2006 Time: 2:36:12 PM
| Constructor Summary | |
|---|---|
protected |
SAMLCredentialImpl()
Deprecated. |
|
SAMLCredentialImpl(Node node)
Deprecated. |
|
SAMLCredentialImpl(String tokenType,
Object cred)
Deprecated. create a new SAML 20 credential with the SAML 2.0 assertion |
|
SAMLCredentialImpl(String tokenType,
Object cred,
PrivateKey privateKey)
Deprecated. create a new saml credential with private key of the saml requester |
| Method Summary | |
|---|---|
String |
getAssertionID()
Deprecated. AssertionID of SAML Assertion |
SAMLAttributeStatementData |
getAttributes()
Deprecated. Get the SAMLAttributeStatemnetInfo or SAML2AttributeStatemnetInfo from the SAML Token |
Object |
getCredential()
Deprecated. get the credential object |
Element |
getEncryptedKey()
Deprecated. get the EncryptedKey object |
EncryptedKeyProvider |
getEncryptedKeyProvider()
Deprecated. get EncryptedKeyProvider object |
Key |
getHolderOfKey()
Deprecated. return sender's key for holder-of-key |
PrivateKey |
getPrivateKey()
Deprecated. get the private key |
SecurityTokenReference |
getSecurityTokenReference()
Deprecated. |
Key |
getSymmetircKey()
Deprecated. return symmetric key for holder-of-key |
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
|
String |
getVersion()
Deprecated. |
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(Object credential)
Deprecated. set the credential object |
void |
setEncryptedKeyProvider(EncryptedKeyProvider encryptedKeyProvider)
Deprecated. set EncryptedKeyProvider object |
void |
setPrivateKey(PrivateKey privateKey)
Deprecated. set the private key |
void |
setSymmetircKey(Key symmetircKey)
Deprecated. set symmetric key for holder-of-key |
void |
setTokenType(String tokenType)
Deprecated. |
void |
verbose()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SAMLCredentialImpl()
throws WSSecurityException
WSSecurityException
public SAMLCredentialImpl(Node node)
throws WSSecurityException
WSSecurityException
public SAMLCredentialImpl(String tokenType,
Object cred)
throws WSSecurityException
cred - saml assertion node
WSSecurityException
public SAMLCredentialImpl(String tokenType,
Object cred,
PrivateKey privateKey)
throws WSSecurityException
privateKey - private key of thecred - holder-of-key of saml assertion that contains the saml requester's public key
WSSecurityException| Method Detail |
|---|
public void verbose()
public SAMLAttributeStatementData getAttributes()
getAttributes in interface SAMLCredentialpublic void setAttributes(SAMLAttributeStatementData attributes)
setAttributes in interface SAMLCredentialattributes - SAMLAttributeStatementData object to be savedpublic String getVersion()
getVersion in interface SAMLCredentialpublic boolean isSaml2()
isSaml2 in interface SAMLCredentialpublic String getAssertionID()
getAssertionID in interface SAMLCredentialpublic 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.
getTokenType in interface SAMLCredentialpublic void setTokenType(String tokenType)
public void setCredential(Object credential)
setCredential in interface SAMLCredentialcredential - SAML assertion node to setpublic Object getCredential()
getCredential in interface SAMLCredentialpublic void setPrivateKey(PrivateKey privateKey)
setPrivateKey in interface SAMLCredentialprivateKey - private key to setpublic PrivateKey getPrivateKey()
getPrivateKey in interface SAMLCredentialpublic boolean isHolderOfKey()
isHolderOfKey in interface SAMLCredentialpublic Key getHolderOfKey()
getHolderOfKey in interface SAMLCredentialpublic Key getSymmetircKey()
getSymmetircKey in interface SAMLCredentialpublic void setSymmetircKey(Key symmetircKey)
setSymmetircKey in interface SAMLCredentialsymmetircKey - the symmetric key for holder-of-keypublic Element getEncryptedKey()
getEncryptedKey in interface SAMLCredentialpublic EncryptedKeyProvider getEncryptedKeyProvider()
getEncryptedKeyProvider in interface SAMLCredentialpublic void setEncryptedKeyProvider(EncryptedKeyProvider encryptedKeyProvider)
setEncryptedKeyProvider in interface SAMLCredentialencryptedKeyProvider - EncryptedKeyProvider object to be setpublic X509Certificate getX509Cert()
getX509Cert in interface SAMLCredentialpublic SecurityTokenReference getSecurityTokenReference()
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||