Class ConfigurationFactory


  • @ApplicationScoped
    public class ConfigurationFactory
    extends Object
    Author:
    Yuriy Movchan Date: 05/13/2020
    • Field Detail

      • PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE

        public static final String PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigurationFactory

        public ConfigurationFactory()
    • 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()