Class OTPRequestValidator

  • All Implemented Interfaces:
    org.springframework.validation.Validator

    @Component
    public class OTPRequestValidator
    extends IdAuthValidator
    OTPRequestValidator do constraint validate of OtpRequestDTO and enum atribute "idType" validation.
    Author:
    Dinesh Karuppiah.T, Rakesh Roshan
    • Constructor Detail

      • OTPRequestValidator

        public OTPRequestValidator()
    • Method Detail

      • supports

        public boolean supports​(Class<?> clazz)
      • validate

        public void validate​(Object target,
                             org.springframework.validation.Errors errors)