|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wss4j.stax.validate.SignatureTokenValidatorImpl
org.apache.wss4j.stax.validate.SamlTokenValidatorImpl
public class SamlTokenValidatorImpl
| Constructor Summary | |
|---|---|
SamlTokenValidatorImpl()
|
|
| Method Summary | ||
|---|---|---|
protected void |
checkConditions(SamlAssertionWrapper samlAssertion)
Check the Conditions of the Assertion. |
|
protected void |
checkOneTimeUse(SamlAssertionWrapper samlAssertion,
ReplayCache replayCache)
Check the "OneTimeUse" Condition of the Assertion. |
|
boolean |
isValidateSignatureAgainstProfile()
Whether to validate the signature of the Assertion (if it exists) against the relevant profile. |
|
void |
setFutureTTL(int newFutureTTL)
Set the time in seconds in the future within which the NotBefore time of an incoming Assertion is valid. |
|
void |
setValidateSignatureAgainstProfile(boolean validateSignatureAgainstProfile)
Whether to validate the signature of the Assertion (if it exists) against the relevant profile. |
|
|
validate(SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
TokenContext tokenContext)
|
|
protected void |
validateAssertion(SamlAssertionWrapper samlAssertion)
Validate the samlAssertion against schemas/profiles |
|
| Methods inherited from class org.apache.wss4j.stax.validate.SignatureTokenValidatorImpl |
|---|
validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.wss4j.stax.validate.SignatureTokenValidator |
|---|
validate |
| Constructor Detail |
|---|
public SamlTokenValidatorImpl()
| Method Detail |
|---|
public void setFutureTTL(int newFutureTTL)
public boolean isValidateSignatureAgainstProfile()
public void setValidateSignatureAgainstProfile(boolean validateSignatureAgainstProfile)
public <T extends SamlSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> T validate(SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
TokenContext tokenContext)
throws WSSecurityException
validate in interface SamlTokenValidatorWSSecurityException
protected void checkConditions(SamlAssertionWrapper samlAssertion)
throws WSSecurityException
WSSecurityException
protected void checkOneTimeUse(SamlAssertionWrapper samlAssertion,
ReplayCache replayCache)
throws WSSecurityException
WSSecurityException
protected void validateAssertion(SamlAssertionWrapper samlAssertion)
throws WSSecurityException
WSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||