@Component public abstract class BaseAuthRequestValidator extends IdAuthValidator
| Modifier and Type | Field and Description |
|---|---|
protected IdInfoFetcher |
idInfoFetcher
The id info helper.
|
protected IdInfoHelper |
idInfoHelper
The id info helper.
|
env| Constructor and Description |
|---|
BaseAuthRequestValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDemoAuth(AuthRequestDTO authRequest,
org.springframework.validation.Errors errors)
Check demo auth.
|
protected abstract int |
getMaxFingerCount()
Gets the max finger count.
|
protected int |
getMaxIrisCount()
Gets the max iris count.
|
boolean |
supports(Class<?> clazz) |
void |
validate(Object req,
org.springframework.validation.Errors errors) |
protected void |
validateAdditionalFactorsDetails(AuthRequestDTO authRequestDTO,
org.springframework.validation.Errors errors)
validates the Static Pin Details.
|
protected void |
validateAllowedAuthTypes(AuthRequestDTO requestDTO,
org.springframework.validation.Errors errors)
Method to validate auth type.
|
protected void |
validateAuthType(AuthTypeDTO authType,
org.springframework.validation.Errors errors)
Validates the AuthType.
|
protected void |
validateBioMetadataDetails(AuthRequestDTO authRequestDTO,
org.springframework.validation.Errors errors,
Set<String> allowedAuthType)
Validate Biometric details i.e validating fingers,iris,face and device
information.
|
protected void |
validateLangCode(String langCode,
org.springframework.validation.Errors errors,
String field)
validateSecondayLangCode method used to validate secondaryLangCode for KYC
request.
|
getAllowedAuthTypeProperty, getAllowedAuthTypes, getAllowedIdTypes, getAllowedIdTypesConfigKey, validateConsentReq, validateId, validateIdvId, validateIdvId, validateReqTime, validateRequestTimedOut, validateTxnId, validateTxnId@Autowired protected IdInfoHelper idInfoHelper
@Autowired protected IdInfoFetcher idInfoFetcher
public boolean supports(Class<?> clazz)
public void validate(Object req, org.springframework.validation.Errors errors)
protected void validateAdditionalFactorsDetails(AuthRequestDTO authRequestDTO, org.springframework.validation.Errors errors)
authRequestDTO - the auth request DTOerrors - the errorsprotected void validateBioMetadataDetails(AuthRequestDTO authRequestDTO, org.springframework.validation.Errors errors, Set<String> allowedAuthType)
authRequestDTO - the auth request DTOerrors - the errorsallowedAuthType - the allowed auth typeprotected abstract int getMaxFingerCount()
protected void checkDemoAuth(AuthRequestDTO authRequest, org.springframework.validation.Errors errors)
authRequest - the auth requesterrors - the errorsprotected void validateAuthType(AuthTypeDTO authType, org.springframework.validation.Errors errors)
authType - the auth typeerrors - the errorsprotected void validateAllowedAuthTypes(AuthRequestDTO requestDTO, org.springframework.validation.Errors errors)
requestDTO - the request DTOerrors - the errorsprotected void validateLangCode(String langCode, org.springframework.validation.Errors errors, String field)
langCode - the lang codeerrors - the errorsfield - the fieldprotected int getMaxIrisCount()
Copyright © 2020. All rights reserved.