Class IdObjectReferenceValidator

java.lang.Object
io.mosip.kernel.idobjectvalidator.impl.IdObjectReferenceValidator
All Implemented Interfaces:
io.mosip.kernel.core.idobjectvalidator.spi.IdObjectValidator

@Lazy @RefreshScope public class IdObjectReferenceValidator extends Object implements io.mosip.kernel.core.idobjectvalidator.spi.IdObjectValidator
The Class IdObjectReferenceValidator.
Author:
Manoj SP
  • Constructor Details

    • IdObjectReferenceValidator

      public IdObjectReferenceValidator()
  • Method Details

    • loadData

      @PostConstruct public void loadData()
      Load data.
    • resetCache

      public void resetCache()
    • validateIdObject

      public boolean validateIdObject(String identitySchema, Object identityObject, List<String> requiredFields) throws io.mosip.kernel.core.idobjectvalidator.exception.IdObjectIOException, io.mosip.kernel.core.idobjectvalidator.exception.IdObjectValidationFailedException
      Specified by:
      validateIdObject in interface io.mosip.kernel.core.idobjectvalidator.spi.IdObjectValidator
      Throws:
      io.mosip.kernel.core.idobjectvalidator.exception.IdObjectIOException
      io.mosip.kernel.core.idobjectvalidator.exception.IdObjectValidationFailedException