|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 12c Release 1 (12.1.1) Part Number E24391-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()
|
|
SAMLCredentialImpl(Node node)
|
|
SAMLCredentialImpl(String tokenType,
Object cred)
create a new SAML 20 credential with the SAML 2.0 assertion |
|
SAMLCredentialImpl(String tokenType,
Object cred,
PrivateKey privateKey)
create a new saml credential with private key of the saml requester |
Method Summary | |
---|---|
String |
getAssertionID()
AssertionID of SAML Assertion |
SAMLAttributeStatementData |
getAttributes()
Get the SAMLAttributeStatemnetInfo or SAML2AttributeStatemnetInfo from the SAML Token |
Object |
getCredential()
get the credential object |
Element |
getEncryptedKey()
get the EncryptedKey object |
weblogic.xml.crypto.common.keyinfo.EncryptedKeyProvider |
getEncryptedKeyProvider()
get EncryptedKeyProvider object |
Key |
getHolderOfKey()
return sender's key for holder-of-key |
PrivateKey |
getPrivateKey()
get the private key |
SecurityTokenReference |
getSecurityTokenReference()
|
Key |
getSymmetircKey()
return symmetric key for holder-of-key |
String |
getTokenType()
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()
|
X509Certificate |
getX509Cert()
get the X509 Certificate in this SAML Token. |
boolean |
isHolderOfKey()
check is this credential use HoK confirmation |
boolean |
isSaml2()
|
void |
setAttributes(SAMLAttributeStatementData attributes)
Save the SAML Attributes into this SAML Token |
void |
setCredential(Object credential)
set the credential object |
void |
setEncryptedKeyProvider(weblogic.xml.crypto.common.keyinfo.EncryptedKeyProvider encryptedKeyProvider)
set EncryptedKeyProvider object |
void |
setPrivateKey(PrivateKey privateKey)
set the private key |
void |
setSymmetircKey(Key symmetircKey)
set symmetric key for holder-of-key |
void |
setTokenType(String tokenType)
|
void |
verbose()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SAMLCredentialImpl()
public SAMLCredentialImpl(Node node)
public SAMLCredentialImpl(String tokenType, Object cred)
cred
- saml assertion nodepublic SAMLCredentialImpl(String tokenType, Object cred, PrivateKey privateKey)
privateKey
- private key of thecred
- holder-of-key of saml assertion that contains the saml requester's public keyMethod Detail |
---|
public void verbose()
public SAMLAttributeStatementData getAttributes()
getAttributes
in interface SAMLCredential
public void setAttributes(SAMLAttributeStatementData attributes)
setAttributes
in interface SAMLCredential
attributes
- SAMLAttributeStatementData object to be savedpublic String getVersion()
getVersion
in interface SAMLCredential
public boolean isSaml2()
isSaml2
in interface SAMLCredential
public String getAssertionID()
getAssertionID
in interface SAMLCredential
public 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 SAMLCredential
public void setTokenType(String tokenType)
public void setCredential(Object credential)
setCredential
in interface SAMLCredential
credential
- SAML assertion node to setpublic Object getCredential()
getCredential
in interface SAMLCredential
public void setPrivateKey(PrivateKey privateKey)
setPrivateKey
in interface SAMLCredential
privateKey
- private key to setpublic PrivateKey getPrivateKey()
getPrivateKey
in interface SAMLCredential
public boolean isHolderOfKey()
isHolderOfKey
in interface SAMLCredential
public Key getHolderOfKey()
getHolderOfKey
in interface SAMLCredential
public Key getSymmetircKey()
getSymmetircKey
in interface SAMLCredential
public void setSymmetircKey(Key symmetircKey)
setSymmetircKey
in interface SAMLCredential
symmetircKey
- the symmetric key for holder-of-keypublic Element getEncryptedKey()
getEncryptedKey
in interface SAMLCredential
public weblogic.xml.crypto.common.keyinfo.EncryptedKeyProvider getEncryptedKeyProvider()
getEncryptedKeyProvider
in interface SAMLCredential
public void setEncryptedKeyProvider(weblogic.xml.crypto.common.keyinfo.EncryptedKeyProvider encryptedKeyProvider)
setEncryptedKeyProvider
in interface SAMLCredential
encryptedKeyProvider
- EncryptedKeyProvider object to be setpublic X509Certificate getX509Cert()
getX509Cert
in interface SAMLCredential
public SecurityTokenReference getSecurityTokenReference()
|
Copyright 1996, 2011, 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 Oracle WebLogic Server API Reference 12c Release 1 (12.1.1) Part Number E24391-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |