Package io.jans.fido2.service.app
Class ConfigurationFactory
- java.lang.Object
-
- io.jans.fido2.service.app.ConfigurationFactory
-
@ApplicationScoped public class ConfigurationFactory extends Object
- Author:
- Yuriy Movchan Date: 05/13/2020
-
-
Field Summary
Fields Modifier and Type Field Description static String
BASE_CONFIGUARION_RELOAD_EVENT_TYPE
static String
PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE
-
Constructor Summary
Constructors Constructor Description ConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create()
void
destroy(Class<? extends io.jans.as.model.configuration.Configuration> clazz)
void
destroyCryptoProviderInstance(Class<? extends io.jans.as.model.crypto.AbstractCryptoProvider> clazz)
AppConfiguration
getAppConfiguration()
io.jans.util.properties.FileConfiguration
getBaseConfiguration()
io.jans.as.model.config.BaseDnConfiguration
getBaseDn()
String
getCryptoConfigurationSalt()
ErrorResponseFactory
getFido2ErrorResponseFactory()
io.jans.orm.model.PersistenceConfiguration
getPersistenceConfiguration()
io.jans.as.model.config.StaticConfiguration
getStaticConfiguration()
void
init()
void
initTimer()
void
loadCryptoConfigurationSalt()
boolean
reloadConfFromLdap()
void
reloadConfigurationTimerEvent(io.jans.service.cdi.event.ConfigurationEvent configurationEvent)
-
-
-
Field Detail
-
PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE
public static final String PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE
- See Also:
- Constant Field Values
-
BASE_CONFIGUARION_RELOAD_EVENT_TYPE
public static final String BASE_CONFIGUARION_RELOAD_EVENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
@PostConstruct public void init()
-
create
public void create()
-
initTimer
public void initTimer()
-
reloadConfigurationTimerEvent
@Asynchronous public void reloadConfigurationTimerEvent(@Observes io.jans.service.cdi.event.ConfigurationEvent configurationEvent)
-
getBaseConfiguration
public io.jans.util.properties.FileConfiguration getBaseConfiguration()
-
getPersistenceConfiguration
@Produces @ApplicationScoped public io.jans.orm.model.PersistenceConfiguration getPersistenceConfiguration()
-
getAppConfiguration
@Produces @ApplicationScoped public AppConfiguration getAppConfiguration()
-
getStaticConfiguration
@Produces @ApplicationScoped public io.jans.as.model.config.StaticConfiguration getStaticConfiguration()
-
getFido2ErrorResponseFactory
@Produces @ApplicationScoped public ErrorResponseFactory getFido2ErrorResponseFactory()
-
getBaseDn
public io.jans.as.model.config.BaseDnConfiguration getBaseDn()
-
getCryptoConfigurationSalt
public String getCryptoConfigurationSalt()
-
reloadConfFromLdap
public boolean reloadConfFromLdap()
-
destroy
public void destroy(Class<? extends io.jans.as.model.configuration.Configuration> clazz)
-
destroyCryptoProviderInstance
public void destroyCryptoProviderInstance(Class<? extends io.jans.as.model.crypto.AbstractCryptoProvider> clazz)
-
loadCryptoConfigurationSalt
public void loadCryptoConfigurationSalt()
-
-