Class DelegationRestrictionConditionValidator
java.lang.Object
org.opensaml.saml.saml2.assertion.impl.DelegationRestrictionConditionValidator
- All Implemented Interfaces:
ConditionValidator
@ThreadSafe public class DelegationRestrictionConditionValidator extends Object implements ConditionValidator
ConditionValidator
implementation for DelegationRestrictionType
style 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 ValidationContext
static parameters:
- None.
Supports the following ValidationContext
dynamic parameters:
- None.
-
Constructor Summary
Constructors Constructor Description DelegationRestrictionConditionValidator()
-
Method Summary
Modifier and Type Method Description QName
getServicedCondition()
Gets the element or schema type QName of the condition handled by this validator.ValidationResult
validate(Condition condition, Assertion assertion, ValidationContext context)
Validates the given condition.
-
Constructor Details
-
DelegationRestrictionConditionValidator
public DelegationRestrictionConditionValidator()
-
-
Method Details
-
getServicedCondition
Gets the element or schema type QName of the condition handled by this validator.- Specified by:
getServicedCondition
in 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 AssertionValidationExceptionValidates the given condition.- Specified by:
validate
in 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
-