Class TppInfoValidator
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.validator.tpp.TppInfoValidator
-
- Direct Known Subclasses:
AisAccountTppInfoValidator,AisConsentTppInfoValidator,PiisConsentTppInfoValidator,PisTppInfoValidator
@Component public abstract class TppInfoValidator extends Object
-
-
Constructor Summary
Constructors Constructor Description TppInfoValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResultvalidateTpp(@Nullable de.adorsys.psd2.xs2a.core.tpp.TppInfo tppInfo)Validates the TPP object contained in the consent/payment by checking whether it matches the current TPP in the request
-
-
-
Method Detail
-
validateTpp
public ValidationResult validateTpp(@Nullable @Nullable de.adorsys.psd2.xs2a.core.tpp.TppInfo tppInfo)
Validates the TPP object contained in the consent/payment by checking whether it matches the current TPP in the request- Parameters:
tppInfo- TPP Info object contained in the consent/payment- Returns:
- valid result if the TPP is valid, invalid result with appropriate error otherwise
-
-