Class IdAuthConfig
- java.lang.Object
-
- io.mosip.kernel.dataaccess.hibernate.config.HibernateDaoConfig
-
- io.mosip.authentication.common.service.config.IdAuthConfig
-
- All Implemented Interfaces:
io.mosip.kernel.core.dataaccess.spi.config.BaseDaoConfig
public abstract class IdAuthConfig extends io.mosip.kernel.dataaccess.hibernate.config.HibernateDaoConfigClass for defining configurations for the service.- Author:
- Manoj SP
-
-
Constructor Summary
Constructors Constructor Description IdAuthConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.module.afterburner.AfterburnerModuleafterburnerModule()Executorexecutor()ExecutorfraudAnalysisExecutor()io.mosip.idrepository.core.builder.RestRequestBuildergetRestRequestBuilder()voidinitialize()Initialize.protected abstract booleanisFaceAuthEnabled()Checks if is face auth enabled.protected abstract booleanisFingerAuthEnabled()Checks if is finger auth enabled.protected abstract booleanisIrisAuthEnabled()Checks if is iris auth enabled.org.springframework.web.servlet.LocaleResolverlocaleResolver()Locale resolver.org.springframework.context.MessageSourcemessageSource()Message source.voidmonitorThreadQueueLimit()org.springframework.scheduling.concurrent.ThreadPoolTaskSchedulerthreadPoolTaskScheduler()Thread pool task scheduler.ExecutorwebSubHelperExecutor()
-
-
-
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()
-
-