# Uses of Class
org.opensaml.saml.common.assertion.ValidationContext

Packages that use ValidationContext
Package
Description
org.opensaml.saml.common.assertion
Common classes for validating SAML Assertions.
org.opensaml.saml.saml2.assertion
Interfaces and API classes for validating SAML 2 Assertions.
org.opensaml.saml.saml2.assertion.impl
Implementation classes for validating SAML 2 Assertions.
org.opensaml.saml.saml2.assertion.messaging.impl
Implementation classes related to networking and messaging APIs that support validating SAML 2 Assertions.
org.opensaml.saml.saml2.profile.impl
Implementations of SAML 2.0 profile behavior.
org.opensaml.saml.saml2.wssecurity.messaging.impl
Implementation of SAML WS-Security message handler functionality.

## Uses of ValidationContext in org.opensaml.saml.common.assertion

Fields in org.opensaml.saml.common.assertion declared as ValidationContext
Modifier and Type
Field
Description
`private ValidationContext`
ValidationProcessingData.`context`
The validation context.
Methods in org.opensaml.saml.common.assertion that return ValidationContext
Modifier and Type
Method
Description
`ValidationContext`
ValidationProcessingData.`getContext()`
Get the validation context.
Constructors in org.opensaml.saml.common.assertion with parameters of type ValidationContext
Modifier
Constructor
Description
``
`ValidationProcessingData(ValidationContext validationContext, ValidationResult validationResult)`
Constructor.

## Uses of ValidationContext in org.opensaml.saml.saml2.assertion

Methods in org.opensaml.saml.saml2.assertion with parameters of type ValidationContext
Modifier and Type
Method
Description
`static Duration`
SAML20AssertionValidator.`getClockSkew(ValidationContext context)`
Gets the clock skew from the `getStaticParameters()` parameters.
`private static Duration`
SAML20AssertionValidator.`getDurationParam(ValidationContext context, String paramName, Duration defaultDuration)`
Gets the clock skew from the `getStaticParameters()` parameters.
`static Duration`
SAML20AssertionValidator.`getLifetime(ValidationContext context)`
Gets the lifetime duration from the `getStaticParameters()` parameters.
`protected CriteriaSet`
SAML20AssertionValidator.`getSignatureValidationCriteriaSet(Assertion token, ValidationContext context)`
Get the criteria set that will be used in evaluating the Assertion signature via the supplied trust engine.
`protected SignaturePrevalidator`
SAML20AssertionValidator.`getSignatureValidationPrevalidator(Assertion token, ValidationContext context)`
Get the signature trust engine that will be used in evaluating the Assertion signature.
`protected SignatureTrustEngine`
SAML20AssertionValidator.`getSignatureValidationTrustEngine(Assertion token, ValidationContext context)`
Get the signature trust engine that will be used in evaluating the Assertion signature.
`protected void`
SAML20AssertionValidator.`log(Assertion assertion, ValidationContext context)`
Log the Assertion which is being validated, along with the supplied validation context parameters.
`protected ValidationResult`
SAML20AssertionValidator.`performSignatureValidation(Assertion token, ValidationContext context)`
Handle the actual signature validation.
`ValidationResult`
AssertionValidator.`validate(Assertion assertion, ValidationContext context)`
Validates the given assertion.
`ValidationResult`
ConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
SAML20AssertionValidator.`validate(Assertion assertion, ValidationContext context)`
Validate the supplied SAML 2 `Assertion`, using the parameters from the supplied `ValidationContext`.
`ValidationResult`
StatementValidator.`validate(Statement statement, Assertion assertion, ValidationContext context)`
Validates the given statement.
`ValidationResult`
SubjectConfirmationValidator.`validate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Confirms the `Subject` by means of the given `SubjectConfirmation`.
`protected ValidationResult`
SAML20AssertionValidator.`validateBasicData(Assertion assertion, ValidationContext context)`
Validate basic Assertion data, such as version, issuer and issue instant.
`protected ValidationResult`
SAML20AssertionValidator.`validateConditions(Assertion assertion, ValidationContext context)`
Validates the conditions on the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateConditionsTimeBounds(Assertion assertion, ValidationContext context)`
Validates the NotBefore and NotOnOrAfter Conditions constraints on the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateIssueInstant(Assertion assertion, ValidationContext context)`
Validates the Assertion IssueInstant.
`protected ValidationResult`
SAML20AssertionValidator.`validateIssuer(Assertion assertion, ValidationContext context)`
Validates the Assertion `Issuer`.
`protected ValidationResult`
SAML20AssertionValidator.`validateRequiredConditions(Assertion assertion, ValidationContext context)`
Validate that all conditions indicated to be required are present in the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateSignature(Assertion token, ValidationContext context)`
Validates the signature of the assertion, if it is signed.
`protected ValidationResult`
SAML20AssertionValidator.`validateStatements(Assertion assertion, ValidationContext context)`
Validates the statements within the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateSubjectConfirmation(Assertion assertion, ValidationContext context)`
Validates the subject confirmations of the assertion.
`protected ValidationResult`
SAML20AssertionValidator.`validateVersion(Assertion assertion, ValidationContext context)`
Validates that the assertion is a `SAMLVersion.VERSION_20` assertion.

## Uses of ValidationContext in org.opensaml.saml.saml2.assertion.impl

Methods in org.opensaml.saml.saml2.assertion.impl with parameters of type ValidationContext
Modifier and Type
Method
Description
`static ValidationResult`
AssertionValidationSupport.`checkAddress(ValidationContext context, String address, String validAddressesParam, Assertion assertion, String description)`
Check an address from an assertion using valid values obtained from the validation context.
`protected abstract ValidationResult`
AbstractSubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected ValidationResult`
BearerSubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected ValidationResult`
HolderOfKeySubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected ValidationResult`
SenderVouchersSubjectConfirmationValidator.`doValidate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Performs any further validation required for the specific confirmation method implementation.
`protected Instant`
OneTimeUseConditionValidator.`getExpires(Assertion assertion, ValidationContext context)`
Get the one-time use expiration time for the assertion being evaluated.
`protected Pair<PublicKey,X509Certificate>`
HolderOfKeySubjectConfirmationValidator.`getKeyAndCertificate(ValidationContext context)`
Extracts the presenter's key and/or certificate from the validation context.
`protected List<KeyInfo>`
HolderOfKeySubjectConfirmationValidator.`getSubjectConfirmationKeyInformation(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context)`
Extracts the `KeyInfo`s from the given subject confirmation data.
`protected boolean`
AbstractSubjectConfirmationValidator.`isAddressRequired(ValidationContext context)`
Determine whether Address is required.
`protected boolean`
AbstractSubjectConfirmationValidator.`isInResponseToIgnored(ValidationContext context)`
Determine whether InResponseTo is ignored.
`protected boolean`
AbstractSubjectConfirmationValidator.`isInResponseToRequired(ValidationContext context)`
Determine whether InResponseTo is required.
`protected boolean`
AbstractSubjectConfirmationValidator.`isNotBeforeRequired(ValidationContext context)`
Determine whether NotBefore is required.
`protected boolean`
AbstractSubjectConfirmationValidator.`isNotOnOrAfterRequired(ValidationContext context)`
Determine whether NotOnOrAfter is required.
`protected boolean`
AbstractSubjectConfirmationValidator.`isRecipientRequired(ValidationContext context)`
Determine whether Recipient is required.
`ValidationResult`
AbstractSubjectConfirmationValidator.`validate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context)`
Confirms the `Subject` by means of the given `SubjectConfirmation`.
`ValidationResult`
AudienceRestrictionConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
AuthnStatementValidator.`validate(Statement statement, Assertion assertion, ValidationContext context)`
Validates the given statement.
`ValidationResult`
DelegationRestrictionConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
OneTimeUseConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`ValidationResult`
ProxyRestrictionConditionValidator.`validate(Condition condition, Assertion assertion, ValidationContext context)`
Validates the given condition.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateAddress(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `Address` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AuthnStatementValidator.`validateAuthnContext(AuthnStatement authnStatement, Assertion assertion, ValidationContext context)`
Validate the `AuthnContext`.
`protected ValidationResult`
AuthnStatementValidator.`validateAuthnInstant(AuthnStatement authnStatement, Assertion assertion, ValidationContext context)`
Validate the authnInstant attribute of the `AuthnStatement`.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateInResponseTo(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `InResponseTo` value of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateNotBefore(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `NotBefore` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateNotOnOrAfter(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `NotOnOrAfter` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AbstractSubjectConfirmationValidator.`validateRecipient(SubjectConfirmationData confirmationData, Assertion assertion, ValidationContext context, boolean required)`
Validates the `Recipient` condition of the `SubjectConfirmationData`, if any is present.
`protected ValidationResult`
AuthnStatementValidator.`validateSubjectLocality(AuthnStatement authnStatement, Assertion assertion, ValidationContext context)`
Validate the `SubjectLocality`.

## Uses of ValidationContext in org.opensaml.saml.saml2.assertion.messaging.impl

Methods in org.opensaml.saml.saml2.assertion.messaging.impl that return ValidationContext
Modifier and Type
Method
Description
`ValidationContext`
DefaultAssertionValidationContextBuilder.`apply(AssertionValidationInput input)`

## Uses of ValidationContext in org.opensaml.saml.saml2.profile.impl

Fields in org.opensaml.saml.saml2.profile.impl with type parameters of type ValidationContext
Modifier and Type
Field
Description
`private Function<AssertionValidationInput,ValidationContext>`
ValidateAssertions.`validationContextBuilder`
Function that builds a `ValidationContext` instance based on a `AssertionValidationInput` instance.
Methods in org.opensaml.saml.saml2.profile.impl that return ValidationContext
Modifier and Type
Method
Description
`ValidationContext`
DefaultAssertionValidationContextBuilder.`apply(ValidateAssertions.AssertionValidationInput input)`
Deprecated.
`protected ValidationContext`
ValidateAssertions.`buildValidationContext(ProfileRequestContext profileContext, Assertion assertion)`
Build the Assertion ValidationContext.
Methods in org.opensaml.saml.saml2.profile.impl that return types with arguments of type ValidationContext
Modifier and Type
Method
Description
`Function<AssertionValidationInput,ValidationContext>`
ValidateAssertions.`getValidationContextBuilder()`
Get the function that builds a `ValidationContext` instance based on a `AssertionValidationInput` instance.
Methods in org.opensaml.saml.saml2.profile.impl with parameters of type ValidationContext
Modifier and Type
Method
Description
`protected void`
ValidateAssertions.`processResult(ValidationContext validationContext, ValidationResult validationResult, Assertion assertion, ProfileRequestContext profileContext)`
Process the result of the assertion validation.
Method parameters in org.opensaml.saml.saml2.profile.impl with type arguments of type ValidationContext
Modifier and Type
Method
Description
`void`
ValidateAssertions.`setValidationContextBuilder(Function<AssertionValidationInput,ValidationContext> builder)`
Set the function that builds a `ValidationContext` instance based on a `AssertionValidationInput` instance.

## Uses of ValidationContext in org.opensaml.saml.saml2.wssecurity.messaging.impl

Fields in org.opensaml.saml.saml2.wssecurity.messaging.impl with type parameters of type ValidationContext
Modifier and Type
Field
Description
`private Function<SAML20AssertionTokenValidationInput,ValidationContext>`
WSSecuritySAML20AssertionTokenSecurityHandler.`validationContextBuilder`
Function that builds a `ValidationContext` instance based on a `SAML20AssertionTokenValidationInput` instance.
Methods in org.opensaml.saml.saml2.wssecurity.messaging.impl that return ValidationContext
Modifier and Type
Method
Description
`ValidationContext`
DefaultSAML20AssertionValidationContextBuilder.`apply(SAML20AssertionTokenValidationInput input)`
`protected ValidationContext`
WSSecuritySAML20AssertionTokenSecurityHandler.`buildValidationContext(MessageContext messageContext, Assertion assertion)`
Build the Assertion ValidationContext.
Methods in org.opensaml.saml.saml2.wssecurity.messaging.impl that return types with arguments of type ValidationContext
Modifier and Type
Method
Description
`Function<SAML20AssertionTokenValidationInput,ValidationContext>`
WSSecuritySAML20AssertionTokenSecurityHandler.`getValidationContextBuilder()`
Get the function that builds a `ValidationContext` instance based on a `SAML20AssertionTokenValidationInput` instance.
Methods in org.opensaml.saml.saml2.wssecurity.messaging.impl with parameters of type ValidationContext
Modifier and Type
Method
Description
`protected void`
WSSecuritySAML20AssertionTokenSecurityHandler.`processResult(ValidationContext validationContext, ValidationResult validationResult, SAML20AssertionToken token, MessageContext messageContext)`
Process the result of the token validation.
Method parameters in org.opensaml.saml.saml2.wssecurity.messaging.impl with type arguments of type ValidationContext
Modifier and Type
Method
Description
`void`
WSSecuritySAML20AssertionTokenSecurityHandler.`setValidationContextBuilder(Function<SAML20AssertionTokenValidationInput,ValidationContext> builder)`
Set the function that builds a `ValidationContext` instance based on a `SAML20AssertionTokenValidationInput` instance.