Class KycAuthRequestValidator
- java.lang.Object
-
- io.mosip.authentication.common.service.validator.IdAuthValidator
-
- io.mosip.authentication.common.service.validator.BaseAuthRequestValidator
-
- io.mosip.authentication.common.service.validator.AuthRequestValidator
-
- io.mosip.authentication.kyc.service.validator.KycAuthRequestValidator
-
- All Implemented Interfaces:
org.springframework.validation.Validator
@Component public class KycAuthRequestValidator extends AuthRequestValidator
The Class For KycAuthRequestValidator extending the BaseAuthRequestValidatorBaseAuthRequestValidator
}- Author:
- Prem Kumar, Dinesh Karuppiah.T
-
-
Field Summary
-
Fields inherited from class io.mosip.authentication.common.service.validator.BaseAuthRequestValidator
idInfoFetcher, idInfoHelper
-
Fields inherited from class io.mosip.authentication.common.service.validator.IdAuthValidator
env
-
-
Constructor Summary
Constructors Constructor Description KycAuthRequestValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getAllowedAuthTypeProperty()
boolean
supports(Class<?> clazz)
void
validate(Object target, org.springframework.validation.Errors errors)
-
Methods inherited from class io.mosip.authentication.common.service.validator.AuthRequestValidator
getMaxFingerCount, validateDeviceDetails, validateReqTime
-
Methods inherited from class io.mosip.authentication.common.service.validator.BaseAuthRequestValidator
checkDemoAuth, getMaxIrisCount, validateAdditionalFactorsDetails, validateAllowedAuthTypes, validateAuthType, validateBioMetadataDetails, validateLangCode
-
Methods inherited from class io.mosip.authentication.common.service.validator.IdAuthValidator
getAllowedAuthTypes, getAllowedIdTypes, getAllowedIdTypesConfigKey, validateConsentReq, validateId, validateIdvId, validateIdvId, validateReqTime, validateRequestTimedOut, validateTxnId, validateTxnId
-
-
-
-
Method Detail
-
supports
public boolean supports(Class<?> clazz)
- Specified by:
supports
in interfaceorg.springframework.validation.Validator
- Overrides:
supports
in classAuthRequestValidator
-
validate
public void validate(Object target, org.springframework.validation.Errors errors)
- Specified by:
validate
in interfaceorg.springframework.validation.Validator
- Overrides:
validate
in classAuthRequestValidator
-
getAllowedAuthTypeProperty
protected String getAllowedAuthTypeProperty()
- Overrides:
getAllowedAuthTypeProperty
in classIdAuthValidator
- Returns:
- the allowedAuthType
-
-