Class ValidationContext
java.lang.Object
org.opensaml.saml.common.assertion.ValidationContext
Context which holds state related to a single validation event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDynamic parameters used as input to, and output from, the validation process.Static parameters used as input to the validation process.Error messaging describing what validation check an assertion failed. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.ValidationContext(Map<String, Object> newStaticParameters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the dynamic parameters used input to, and output from, the validation process.Gets the static parameters used as input to the validation process.Gets the message describing why the validation process failed.
-
Field Details
-
staticParameters
Static parameters used as input to the validation process. -
dynamicParameters
Dynamic parameters used as input to, and output from, the validation process. -
validationFailureMessages
Error messaging describing what validation check an assertion failed.
-
-
Constructor Details
-
ValidationContext
public ValidationContext()Constructor. Creates a validation context with no global environment. -
ValidationContext
Constructor.- Parameters:
newStaticParameters- static parameters for the validation evaluation
-
-
Method Details
-
getStaticParameters
Gets the static parameters used as input to the validation process. The returned map is immutable.- Returns:
- static parameters used as input to the validation process
-
getDynamicParameters
Gets the dynamic parameters used input to, and output from, the validation process. The returned map is mutable.- Returns:
- dynamic parameters used input to, and output from, the validation process
-
getValidationFailureMessages
Gets the message describing why the validation process failed.- Returns:
- message describing why the validation process failed
-