Interface SubjectConfirmationValidator
- All Known Implementing Classes:
AbstractSubjectConfirmationValidator,BearerSubjectConfirmationValidator,HolderOfKeySubjectConfirmationValidator,SenderVouchersSubjectConfirmationValidator
@ThreadSafe
public interface SubjectConfirmationValidator
Validator that confirms the
Subject
of the issuer by evaluating the SubjectConfirmations within that
subject.-
Method Summary
Modifier and TypeMethodDescriptionGets the subject confirmation method handled by this validator.validate(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context) Confirms theSubjectby means of the givenSubjectConfirmation.
-
Method Details
-
getServicedMethod
Gets the subject confirmation method handled by this validator.- Returns:
- subject confirmation method handled by this validator
-
validate
@Nonnull ValidationResult validate(@Nonnull SubjectConfirmation confirmation, @Nonnull Assertion assertion, @Nonnull ValidationContext context) throws AssertionValidationException Confirms theSubjectby means of the givenSubjectConfirmation.- Parameters:
confirmation- the subject confirmation informationassertion- the assertion bearing the subjectcontext- the current Assertion validation context- Returns:
- the validation result
- Throws:
AssertionValidationException- if there is a problem processing the validation operation
-