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 SubjectConfirmation
s within that
subject.-
Method Summary
Modifier and TypeMethodDescriptionGets the subject confirmation method handled by this validator.validate
(SubjectConfirmation confirmation, Assertion assertion, ValidationContext context) Confirms theSubject
by 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 theSubject
by 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
-