Class DelegationRestrictionConditionValidator
- java.lang.Object
-
- org.opensaml.saml.saml2.assertion.impl.DelegationRestrictionConditionValidator
-
- All Implemented Interfaces:
ConditionValidator
@ThreadSafe public class DelegationRestrictionConditionValidator extends Object implements ConditionValidator
ConditionValidatorimplementation forDelegationRestrictionTypestyle conditions.Note, as delegation restriction conditions do not place any conditions on the use of an assertion this condition always evaluates as valid with the assumption that further processing of this information will be done later by the invoker of the validation process.
Supports the following
ValidationContextstatic parameters:- None.
Supports the following
ValidationContextdynamic parameters:- None.
-
-
Constructor Summary
Constructors Constructor Description DelegationRestrictionConditionValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetServicedCondition()Gets the element or schema type QName of the condition handled by this validator.ValidationResultvalidate(Condition condition, Assertion assertion, ValidationContext context)Validates the given condition.
-
-
-
Method Detail
-
getServicedCondition
@Nonnull public QName getServicedCondition()
Gets the element or schema type QName of the condition handled by this validator.- Specified by:
getServicedConditionin interfaceConditionValidator- Returns:
- element or schema type QName of the statement handled by this validator
-
validate
@Nonnull public ValidationResult validate(@Nonnull Condition condition, @Nonnull Assertion assertion, @Nonnull ValidationContext context) throws AssertionValidationException
Validates the given condition.- Specified by:
validatein interfaceConditionValidator- Parameters:
condition- condition to be evaluatedassertion- assertion bearing the conditioncontext- current Assertion validation context- Returns:
- the result of the condition evaluation
- Throws:
AssertionValidationException- if there is a problem processing the validation operation
-
-