Package io.jans.configapi.configuration
Class ConfigurationFactory
java.lang.Object
io.jans.configapi.configuration.ConfigurationFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
void
io.jans.configapi.model.configuration.ApiAppConfiguration
io.jans.as.model.configuration.AppConfiguration
static String
io.jans.orm.util.properties.FileConfiguration
getConfigurationDn
(String key) io.jans.configapi.model.configuration.CorsConfiguration
io.jans.configapi.model.configuration.CorsConfigurationFilter
io.jans.as.model.error.ErrorResponseFactory
io.jans.as.model.config.WebKeysConfiguration
getJwks()
io.jans.orm.model.PersistenceConfiguration
io.jans.as.model.config.StaticConfiguration
io.jans.util.security.StringEncrypter
void
init()
void
boolean
boolean
boolean
void
reloadConfigurationTimerEvent
(io.jans.service.cdi.event.ConfigurationEvent configurationEvent) void
setConfigOauthEnabled
(boolean configOauthEnabled)
-
Field Details
-
PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE
- See Also:
-
BASE_CONFIGURATION_RELOAD_EVENT_TYPE
- See Also:
-
CONFIGAPI_CONFIGURATION_ENTRY
- See Also:
-
-
Constructor Details
-
ConfigurationFactory
public ConfigurationFactory()
-
-
Method Details
-
getAppConfiguration
@Produces @ApplicationScoped public io.jans.as.model.configuration.AppConfiguration getAppConfiguration() -
getApiAppConfiguration
@Produces @ApplicationScoped public io.jans.configapi.model.configuration.ApiAppConfiguration getApiAppConfiguration() -
getCorsConfigurationFilters
@Produces @ApplicationScoped public io.jans.configapi.model.configuration.CorsConfigurationFilter getCorsConfigurationFilters() -
getCorsConfiguration
@Produces @ApplicationScoped public io.jans.configapi.model.configuration.CorsConfiguration getCorsConfiguration() -
getPersistenceConfiguration
@Produces @ApplicationScoped public io.jans.orm.model.PersistenceConfiguration getPersistenceConfiguration() -
getStaticConf
@Produces @ApplicationScoped public io.jans.as.model.config.StaticConfiguration getStaticConf() -
getJwks
@Produces @ApplicationScoped public io.jans.as.model.config.WebKeysConfiguration getJwks() -
getErrorResponseFactory
@Produces @ApplicationScoped public io.jans.as.model.error.ErrorResponseFactory getErrorResponseFactory() -
getStringEncrypter
@Produces @ApplicationScoped public io.jans.util.security.StringEncrypter getStringEncrypter() throws io.jans.exception.OxIntializationException- Throws:
io.jans.exception.OxIntializationException
-
getBaseConfiguration
public io.jans.orm.util.properties.FileConfiguration getBaseConfiguration() -
getAppPropertiesFile
-
getApiProtectionType
-
getApiClientId
-
getApiClientPassword
-
getApiApprovedIssuer
-
isConfigOauthEnabled
public boolean isConfigOauthEnabled() -
setConfigOauthEnabled
public void setConfigOauthEnabled(boolean configOauthEnabled) -
init
@PostConstruct public void init() -
create
public void create() -
getAuthConfigurationDn
-
getApiAppConfigurationDn
-
getConfigurationDn
-
getCryptoConfigurationSalt
-
getDecryptedConnectionProperties
public Properties getDecryptedConnectionProperties() throws io.jans.exception.OxIntializationException- Throws:
io.jans.exception.OxIntializationException
-
reloadAuthConfFromLdap
public boolean reloadAuthConfFromLdap() -
reloadApiConfFromLdap
public boolean reloadApiConfFromLdap() -
destroy
-
initTimer
public void initTimer() -
reloadConfigurationTimerEvent
@Asynchronous public void reloadConfigurationTimerEvent(@Observes io.jans.service.cdi.event.ConfigurationEvent configurationEvent)
-