Class OA2ConfigurationLoader<T extends ServiceEnvironmentImpl>

    • Field Detail

      • REFRESH_TOKEN_LIFETIME_DEFAULT

        public static long REFRESH_TOKEN_LIFETIME_DEFAULT
        Default is 15 days. Internally the refresh lifetime (as all date-ish things) are in milliseconds though the configuration file is assumed to be in seconds.
      • MAX_REFRESH_TOKEN_LIFETIME_DEFAULT

        public static long MAX_REFRESH_TOKEN_LIFETIME_DEFAULT
      • ACCESS_TOKEN_LIFETIME_DEFAULT

        public static long ACCESS_TOKEN_LIFETIME_DEFAULT
      • MAX_ACCESS_TOKEN_LIFETIME_DEFAULT

        public static long MAX_ACCESS_TOKEN_LIFETIME_DEFAULT
      • ID_TOKEN_LIFETIME_DEFAULT

        public static long ID_TOKEN_LIFETIME_DEFAULT
      • MAX_ID_TOKEN_LIFETIME_DEFAULT

        public static long MAX_ID_TOKEN_LIFETIME_DEFAULT
      • AUTHORIZATION_GRANT_LIFETIME_DEFAULT

        public static long AUTHORIZATION_GRANT_LIFETIME_DEFAULT
      • MAX_AUTHORIZATION_GRANT_LIFETIME_DEFAULT

        public static long MAX_AUTHORIZATION_GRANT_LIFETIME_DEFAULT
      • REFRESH_TOKEN_GRACE_PERIOD_TAG

        public static String REFRESH_TOKEN_GRACE_PERIOD_TAG
      • REFRESH_TOKEN_GRACE_PERIOD_DEFAULT

        public static long REFRESH_TOKEN_GRACE_PERIOD_DEFAULT
      • REFRESH_TOKEN_GRACE_PERIOD_DISABLED

        public static long REFRESH_TOKEN_GRACE_PERIOD_DISABLED
      • REFRESH_TOKEN_GRACE_PERIOD_USE_SERVER_DEFAULT

        public static long REFRESH_TOKEN_GRACE_PERIOD_USE_SERVER_DEFAULT
      • REFRESH_TOKEN_GRACE_PERIOD_NOT_CONFIGURED

        public static long REFRESH_TOKEN_GRACE_PERIOD_NOT_CONFIGURED
      • CLIENT_SECRET_LENGTH_DEFAULT

        public static int CLIENT_SECRET_LENGTH_DEFAULT
      • CLEANUP_INTERVAL_DEFAULT

        public static long CLEANUP_INTERVAL_DEFAULT
      • CLEANUP_LOCKING_ENABLED_DEFAULT

        public static boolean CLEANUP_LOCKING_ENABLED_DEFAULT
      • CLEANUP_FAIL_ON_ERRORS_DEFAULT

        public static boolean CLEANUP_FAIL_ON_ERRORS_DEFAULT
      • MONITOR_ENABLED_DEFAULT

        public static boolean MONITOR_ENABLED_DEFAULT
      • UUC_INTERVAL_DEFAULT

        public static long UUC_INTERVAL_DEFAULT
      • UUC_GRACE_PERIOD_DEFAULT

        public static long UUC_GRACE_PERIOD_DEFAULT
      • MONITOR_INTERVAL_DEFAULT

        public static long MONITOR_INTERVAL_DEFAULT
      • rfc7636Required

        protected Boolean rfc7636Required
      • printTSInDebug

        protected Boolean printTSInDebug
      • claimSource

        protected org.oa4mp.delegation.server.server.claims.ClaimSource claimSource
    • Constructor Detail

      • OA2ConfigurationLoader

        public OA2ConfigurationLoader​(org.apache.commons.configuration.tree.ConfigurationNode node)
      • OA2ConfigurationLoader

        public OA2ConfigurationLoader​(org.apache.commons.configuration.tree.ConfigurationNode node,
                                      edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
    • Method Detail

      • getAlarms

        public Collection<LocalTime> getAlarms​(org.apache.commons.configuration.tree.ConfigurationNode node,
                                               String tag)
        Get alarms that are in a given tag. returns null if no alarms are set
        Parameters:
        node -
        tag -
        Returns:
      • getAlarms

        public Collection<LocalTime> getAlarms​(String tag)
        Get alarms that are in the main service tag.
        Parameters:
        tag -
        Returns:
      • isNotifyACEventEmailAddresses

        public String isNotifyACEventEmailAddresses()
      • isRFC7636Required

        public Boolean isRFC7636Required()
      • isprintTSInDebug

        public boolean isprintTSInDebug()
      • isDemoModeEnabled

        public Boolean isDemoModeEnabled()
      • getQdlConfigurationName

        public String getQdlConfigurationName()
      • isAllowPromptNone

        public Boolean isAllowPromptNone()
      • getCleanupInterval

        public long getCleanupInterval()
      • getMonitorInterval

        public long getMonitorInterval()
      • getUucConfiguration

        public org.oa4mp.delegation.server.storage.uuc.UUCConfiguration getUucConfiguration()
      • NEWgetUUCConfiguration

        public org.oa4mp.delegation.server.storage.uuc.UUCConfiguration NEWgetUUCConfiguration()
      • createLR

        protected org.oa4mp.delegation.server.storage.uuc.ListRule createLR​(org.apache.commons.configuration.tree.ConfigurationNode node,
                                                                            boolean isWhiteList)
      • createGPR

        protected org.oa4mp.delegation.server.storage.uuc.GPRule createGPR​(org.apache.commons.configuration.tree.ConfigurationNode node,
                                                                           boolean isUnused)
      • getRuleFilter

        protected org.oa4mp.delegation.server.storage.uuc.RuleFilter getRuleFilter​(org.apache.commons.configuration.tree.ConfigurationNode node)
      • processUUCList

        protected List[] processUUCList​(org.apache.commons.configuration.tree.ConfigurationNode node)
      • getInterval

        public long getInterval​(String tag,
                                long defaultInterval)
      • isCleanupLockingEnabled

        public Boolean isCleanupLockingEnabled()
      • getCleanupFailOnErrors

        public Boolean getCleanupFailOnErrors()
      • isMonitorEnabled

        public Boolean isMonitorEnabled()
      • isSafeGC

        public boolean isSafeGC()
      • isQdlStrictACLS

        public boolean isQdlStrictACLS()
      • isUtilServerEnabled

        protected Boolean isUtilServerEnabled()
      • isRFC8693Enabled

        protected Boolean isRFC8693Enabled()
      • isCCFEnabled

        protected Boolean isCCFEnabled()
      • isRFC8628Enabled

        protected Boolean isRFC8628Enabled()
      • createDefaultCMConfig

        protected CMConfigs createDefaultCMConfig()
      • getCmConfigs

        public CMConfigs getCmConfigs()
      • getJSONWebKeys

        protected edu.uiuc.ncsa.security.util.jwk.JSONWebKeys getJSONWebKeys()
      • getAGIProvider

        public javax.inject.Provider<org.oa4mp.delegation.server.issuers.AGIssuer> getAGIProvider()
      • getClientApprovalStoreProvider

        public javax.inject.Provider<org.oa4mp.delegation.server.storage.ClientApprovalStore> getClientApprovalStoreProvider()
      • getClientStoreProvider

        public javax.inject.Provider<org.oa4mp.delegation.server.storage.ClientStore> getClientStoreProvider()
      • getRTGracePeriod

        public long getRTGracePeriod()
      • getAGLifetime

        protected long getAGLifetime()
      • getIDTokenLifetime

        protected long getIDTokenLifetime()
      • getMaxIDTokenLifetime

        public long getMaxIDTokenLifetime()
      • getATLifetime

        protected long getATLifetime()
      • getRTLifetime

        protected long getRTLifetime()
      • getMaxAGLifetime

        public long getMaxAGLifetime()
      • getMaxATLifetime

        public long getMaxATLifetime()
      • setMaxATLifetime

        public void setMaxATLifetime​(long maxATLifetime)
      • getMaxRTLifetime

        public long getMaxRTLifetime()
      • getIssuer

        protected String getIssuer()
      • getMaxClientRefreshTokenLifetime

        protected long getMaxClientRefreshTokenLifetime()
      • isOIDCEnabled

        public boolean isOIDCEnabled()
      • isRefreshTokenEnabled

        public boolean isRefreshTokenEnabled()
      • isTwoFactorSupportEnabled

        public boolean isTwoFactorSupportEnabled()
      • setRefreshTokenEnabled

        public void setRefreshTokenEnabled​(boolean refreshTokenEnabled)
      • getLdapConfiguration

        protected org.oa4mp.delegation.server.server.config.LDAPConfiguration getLdapConfiguration()
      • getClientSecretLength

        public int getClientSecretLength()
      • createSQLTSP

        protected OA2SQLTransactionStoreProvider createSQLTSP​(org.apache.commons.configuration.tree.ConfigurationNode config,
                                                              edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp,
                                                              String type,
                                                              MultiDSClientStoreProvider clientStoreProvider,
                                                              javax.inject.Provider<? extends OA2ServiceTransaction> tp,
                                                              javax.inject.Provider<TokenForge> tfp,
                                                              edu.uiuc.ncsa.security.storage.data.MapConverter converter)
      • createSQLTXRecordP

        protected SQLTXRStoreProvider createSQLTXRecordP​(org.apache.commons.configuration.tree.ConfigurationNode config,
                                                         edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp,
                                                         String type,
                                                         TXRecordProvider<? extends TXRecord> tp,
                                                         javax.inject.Provider<TokenForge> tfp,
                                                         TXRecordConverter converter)
      • createSQLVOP

        protected SQLVIStoreProvider createSQLVOP​(org.apache.commons.configuration.tree.ConfigurationNode config,
                                                  edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider<? extends edu.uiuc.ncsa.security.storage.sql.ConnectionPool> cpp,
                                                  String type,
                                                  VIProvider<? extends VirtualIssuer> tp,
                                                  javax.inject.Provider<TokenForge> tfp,
                                                  VIConverter converter)
      • getVOStoreProvider

        protected javax.inject.Provider<VIStore> getVOStoreProvider()
      • getTXStoreProvider

        protected javax.inject.Provider<TXStore> getTXStoreProvider()
      • getTransactionStoreProvider

        public javax.inject.Provider<TransactionStore> getTransactionStoreProvider()
      • getTokenForgeProvider

        public javax.inject.Provider<TokenForge> getTokenForgeProvider()
      • getATIProvider

        public javax.inject.Provider<org.oa4mp.delegation.server.issuers.ATIssuer> getATIProvider()
      • getPAIProvider

        public javax.inject.Provider<org.oa4mp.delegation.server.issuers.PAIssuer> getPAIProvider()
      • getClientProvider

        public edu.uiuc.ncsa.security.core.IdentifiableProvider<? extends Client> getClientProvider()
      • getVersionString

        public String getVersionString()
        Specified by:
        getVersionString in class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader<T extends ServiceEnvironmentImpl>