|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wss4j.dom.validate.Credential
public class Credential
This class stores various Credential types that can be validated and/or returned by a Validator implementation. It also stores an optional Principal object which can provide context information to the validators.
| Constructor Summary | |
|---|---|
Credential()
|
|
| Method Summary | |
|---|---|
BinarySecurity |
getBinarySecurityToken()
Get the BinarySecurityToken to be validated |
X509Certificate[] |
getCertificates()
Get an X509Certificate chain to be validated |
Object |
getDelegationCredential()
|
Principal |
getPrincipal()
Get the principal |
PublicKey |
getPublicKey()
Get a PublicKey to be validated |
SamlAssertionWrapper |
getSamlAssertion()
Get an SamlAssertionWrapper to be validated |
byte[] |
getSecretKey()
Get a SecretKey (byte[]) to be validated |
SecurityContextToken |
getSecurityContextToken()
Get a SecurityContextToken to be validated |
Subject |
getSubject()
Get the subject that may result from the Validation process |
Timestamp |
getTimestamp()
Get a Timestamp to be validated |
SamlAssertionWrapper |
getTransformedToken()
Get an SamlAssertionWrapper instance which corresponds to a Transformed Token. |
UsernameToken |
getUsernametoken()
Get a UsernameToken to be validated |
void |
setBinarySecurityToken(BinarySecurity binarySecurityToken)
Set the BinarySecurityToken to be validated |
void |
setCertificates(X509Certificate[] certs)
Set an X509Certificate chain to be validated |
void |
setDelegationCredential(Object delegationCredential)
|
void |
setPrincipal(Principal principal)
Set the principal that supplies context information to the validators. |
void |
setPublicKey(PublicKey publicKey)
Set a PublicKey to be validated |
void |
setSamlAssertion(SamlAssertionWrapper samlAssertion)
Set an SamlAssertionWrapper to be validated |
void |
setSecretKey(byte[] secretKey)
Set a SecretKey (byte[]) to be validated |
void |
setSecurityContextToken(SecurityContextToken securityContextToken)
Set a SecurityContextToken to be validated |
void |
setSubject(Subject subject)
Set the subject that may result from the Validation process |
void |
setTimestamp(Timestamp timestamp)
Set a Timestamp to be validated |
void |
setTransformedToken(SamlAssertionWrapper transformedToken)
Set an SamlAssertionWrapper instance which corresponds to a Transformed Token. |
void |
setUsernametoken(UsernameToken usernametoken)
Set a UsernameToken to be validated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Credential()
| Method Detail |
|---|
public void setSecurityContextToken(SecurityContextToken securityContextToken)
securityContextToken - a SecurityContextToken to be validatedpublic SecurityContextToken getSecurityContextToken()
public void setSecretKey(byte[] secretKey)
secretKey - a SecretKey (byte) to be validatedpublic byte[] getSecretKey()
public void setPublicKey(PublicKey publicKey)
publicKey - a PublicKey to be validatedpublic PublicKey getPublicKey()
public void setCertificates(X509Certificate[] certs)
certs - an X509Certificate chain to be validatedpublic X509Certificate[] getCertificates()
public void setTimestamp(Timestamp timestamp)
timestamp - a Timestamp to be validatedpublic Timestamp getTimestamp()
public void setUsernametoken(UsernameToken usernametoken)
usernametoken - a UsernameToken to be validatedpublic UsernameToken getUsernametoken()
public void setBinarySecurityToken(BinarySecurity binarySecurityToken)
binarySecurityToken - the BinarySecurityToken to be validatedpublic BinarySecurity getBinarySecurityToken()
public void setSamlAssertion(SamlAssertionWrapper samlAssertion)
samlAssertion - an SamlAssertionWrapper to be validatedpublic SamlAssertionWrapper getSamlAssertion()
public void setTransformedToken(SamlAssertionWrapper transformedToken)
transformedToken - a transformed SamlAssertionWrapper instancepublic SamlAssertionWrapper getTransformedToken()
public void setPrincipal(Principal principal)
principal - the principal that supplies context information to the validatorspublic Principal getPrincipal()
public void setSubject(Subject subject)
subject - the subject that may result from the Validation processpublic Subject getSubject()
public Object getDelegationCredential()
public void setDelegationCredential(Object delegationCredential)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||