|
||||||||||
| 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. |
|
String |
getRequiredSubjectConfirmationMethod()
|
|
boolean |
isRequireBearerSignature()
|
|
boolean |
isRequireStandardSubjectConfirmationMethod()
|
|
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 |
setRequireBearerSignature(boolean requireBearerSignature)
|
|
void |
setRequiredSubjectConfirmationMethod(String requiredSubjectConfirmationMethod)
|
|
void |
setRequireStandardSubjectConfirmationMethod(boolean requireStandardSubjectConfirmationMethod)
|
|
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 |
|
protected void |
verifySubjectConfirmationMethod(SamlAssertionWrapper samlAssertion)
Check the Subject Confirmation method requirements |
|
| 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 String getRequiredSubjectConfirmationMethod()
public void setRequiredSubjectConfirmationMethod(String requiredSubjectConfirmationMethod)
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 verifySubjectConfirmationMethod(SamlAssertionWrapper samlAssertion)
throws WSSecurityException
WSSecurityException
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
WSSecurityExceptionpublic boolean isRequireStandardSubjectConfirmationMethod()
public void setRequireStandardSubjectConfirmationMethod(boolean requireStandardSubjectConfirmationMethod)
public boolean isRequireBearerSignature()
public void setRequireBearerSignature(boolean requireBearerSignature)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||