Class ConfigurationFactory

java.lang.Object
io.jans.configapi.configuration.ConfigurationFactory

@ApplicationScoped @Alternative @Priority(1) public class ConfigurationFactory extends Object
  • Field Details

  • 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

      public static String getAppPropertiesFile()
    • getApiProtectionType

      public String getApiProtectionType()
    • getApiClientId

      public String getApiClientId()
    • getApiClientPassword

      public String getApiClientPassword()
    • getApiApprovedIssuer

      public List<String> getApiApprovedIssuer()
    • isConfigOauthEnabled

      public boolean isConfigOauthEnabled()
    • setConfigOauthEnabled

      public void setConfigOauthEnabled(boolean configOauthEnabled)
    • init

      @PostConstruct public void init()
    • create

      public void create()
    • getAuthConfigurationDn

      public String getAuthConfigurationDn()
    • getApiAppConfigurationDn

      public String getApiAppConfigurationDn()
    • getConfigurationDn

      public String getConfigurationDn(String key)
    • getCryptoConfigurationSalt

      public String getCryptoConfigurationSalt()
    • getDecryptedConnectionProperties

      public Properties getDecryptedConnectionProperties() throws io.jans.exception.OxIntializationException
      Throws:
      io.jans.exception.OxIntializationException
    • reloadAuthConfFromLdap

      public boolean reloadAuthConfFromLdap()
    • reloadApiConfFromLdap

      public boolean reloadApiConfFromLdap()
    • destroy

      public void destroy(Class<? extends io.jans.as.model.configuration.Configuration> clazz)
    • initTimer

      public void initTimer()
    • reloadConfigurationTimerEvent

      @Asynchronous public void reloadConfigurationTimerEvent(@Observes io.jans.service.cdi.event.ConfigurationEvent configurationEvent)