Class ConfigurationFactory


  • @ApplicationScoped
    public class ConfigurationFactory
    extends org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
    Version:
    0.1, 05/25/2020
    Author:
    Yuriy Movchan
    • Field Summary

      • Fields inherited from class org.gluu.service.config.ConfigurationFactory

        APP_PROPERTIES_FILE, APPLICATION_CONFIGURATION, attributeResolverConfiguration, BASE_CONFIGUARION_RELOAD_EVENT_TYPE, BASE_DIR, baseConfiguration, CACHE_PROPERTIES_FILE, DIR, LOG_ROTATION_CONFIGURATION, PERSISTENCE_CONFIGUARION_RELOAD_EVENT_TYPE, SALT_FILE_NAME
    • Constructor Detail

      • ConfigurationFactory

        public ConfigurationFactory()
    • Method Detail

      • init

        protected void init​(org.gluu.config.oxtrust.LdapOxTrustConfiguration conf)
        Specified by:
        init in class org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
      • loadConfigurationFromDb

        protected org.gluu.config.oxtrust.LdapOxTrustConfiguration loadConfigurationFromDb​(String... returnAttributes)
        Specified by:
        loadConfigurationFromDb in class org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
      • destroryLoadedConfiguration

        protected void destroryLoadedConfiguration()
        Specified by:
        destroryLoadedConfiguration in class org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
      • isNewRevision

        protected boolean isNewRevision​(org.gluu.config.oxtrust.LdapOxTrustConfiguration conf)
        Specified by:
        isNewRevision in class org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
      • getConfigurationDn

        public String getConfigurationDn()
        Specified by:
        getConfigurationDn in class org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>
      • getAppConfiguration

        @Produces
        @ApplicationScoped
        public org.gluu.config.oxtrust.AppConfiguration getAppConfiguration()
      • getApplicationPropertiesFileName

        protected String getApplicationPropertiesFileName()
        Specified by:
        getApplicationPropertiesFileName in class org.gluu.service.config.ConfigurationFactory<org.gluu.config.oxtrust.LdapOxTrustConfiguration>