Class IdAuthConfig

  • All Implemented Interfaces:
    io.mosip.kernel.core.dataaccess.spi.config.BaseDaoConfig

    public abstract class IdAuthConfig
    extends io.mosip.kernel.dataaccess.hibernate.config.HibernateDaoConfig
    Class for defining configurations for the service.
    Author:
    Manoj SP
    • Constructor Detail

      • IdAuthConfig

        public IdAuthConfig()
    • Method Detail

      • initialize

        @PostConstruct
        public void initialize()
        Initialize.
      • localeResolver

        @Bean
        public org.springframework.web.servlet.LocaleResolver localeResolver()
        Locale resolver.
        Returns:
        the locale resolver
      • messageSource

        @Bean
        public org.springframework.context.MessageSource messageSource()
        Message source.
        Returns:
        the message source
      • threadPoolTaskScheduler

        @Bean
        public org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler threadPoolTaskScheduler()
        Thread pool task scheduler.
        Returns:
        the thread pool task scheduler
      • isFingerAuthEnabled

        protected abstract boolean isFingerAuthEnabled()
        Checks if is finger auth enabled.
        Returns:
        true, if is finger auth enabled
      • isFaceAuthEnabled

        protected abstract boolean isFaceAuthEnabled()
        Checks if is face auth enabled.
        Returns:
        true, if is face auth enabled
      • isIrisAuthEnabled

        protected abstract boolean isIrisAuthEnabled()
        Checks if is iris auth enabled.
        Returns:
        true, if is iris auth enabled
      • afterburnerModule

        @Bean
        public com.fasterxml.jackson.module.afterburner.AfterburnerModule afterburnerModule()
      • getRestRequestBuilder

        @Bean
        public io.mosip.idrepository.core.builder.RestRequestBuilder getRestRequestBuilder()
      • executor

        @Bean
        @Primary
        public Executor executor()
      • webSubHelperExecutor

        @Bean
        @Qualifier("webSubHelperExecutor")
        public Executor webSubHelperExecutor()
      • fraudAnalysisExecutor

        @Bean
        @Qualifier("fraudAnalysisExecutor")
        public Executor fraudAnalysisExecutor()
      • monitorThreadQueueLimit

        @Scheduled(fixedRateString="${mosip.ida.monitor-thread-queue-in-ms:10000}")
        public void monitorThreadQueueLimit()