Class CILOA2ConfigurationLoader<C extends edu.uiuc.ncsa.myproxy.oa4mp.oauth2.OA2SE>

  • All Implemented Interfaces:
    edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.ConfigurationLoaderInterface, edu.uiuc.ncsa.security.core.util.ConfigurationLoader, edu.uiuc.ncsa.security.core.Version, Serializable, CILogonConfiguration

    public class CILOA2ConfigurationLoader<C extends edu.uiuc.ncsa.myproxy.oa4mp.oauth2.OA2SE>
    extends edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader
    implements CILogonConfiguration
    This handles the extensions to OA4MP and serves as a facade for the CILogon store loader.

    Created by Jeff Gaynor
    on 3/26/15 at 1:52 PM

    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CILOA2ConfigurationLoader.CILST2Provider  
      • Nested classes/interfaces inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader

        edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader.OA2MultiDSClientStoreProvider, edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader.OA4MP2TProvider, edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader.ST2Provider
      • Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader

        edu.uiuc.ncsa.security.core.util.LoggingConfigLoader.MyLoggerProvider
    • Field Summary

      • Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader

        ACCESS_TOKEN_LIFETIME_DEFAULT, AUTHORIZATION_GRANT_LIFETIME_DEFAULT, claimSource, CLEANUP_ALARMS_TAG, CLEANUP_FAIL_ON_ERRORS, CLEANUP_FAIL_ON_ERRORS_DEFAULT, CLEANUP_INTERVAL_DEFAULT, CLEANUP_INTERVAL_TAG, CLEANUP_LOCKING_ENABLED, CLEANUP_LOCKING_ENABLED_DEFAULT, CLIENT_SECRET_LENGTH_DEFAULT, DEMO_MODE_TAG, ID_TOKEN_LIFETIME_DEFAULT, macp, MAX_ACCESS_TOKEN_LIFETIME_DEFAULT, MAX_AUTHORIZATION_GRANT_LIFETIME_DEFAULT, MAX_ID_TOKEN_LIFETIME_DEFAULT, MAX_REFRESH_TOKEN_LIFETIME_DEFAULT, MONITOR_ALARMS, MONITOR_ENABLED, MONITOR_ENABLED_DEFAULT, MONITOR_INTERVAL, MONITOR_INTERVAL_DEFAULT, multiJSONStoreProvider, NOTIFY_ADMIN_CLIENT_ADDRESSES, PRINT_TS_IN_DEBUG, printTSInDebug, QDL_CONFIG_NAME_ATTR, QDL_DEFAULT_CONFIGURATION_NAME, REFRESH_TOKEN_GRACE_PERIOD_DEFAULT, REFRESH_TOKEN_GRACE_PERIOD_DISABLED, REFRESH_TOKEN_GRACE_PERIOD_NOT_CONFIGURED, REFRESH_TOKEN_GRACE_PERIOD_TAG, REFRESH_TOKEN_GRACE_PERIOD_USE_SERVER_DEFAULT, REFRESH_TOKEN_LIFETIME_DEFAULT, RFC7636_REQUIRED_TAG, rfc7636Required, SAFE_GARBAGE_COLLECTION, STRICT_ACLS, UUC_ACTION_TAG, UUC_ALARMS, UUC_BLACKLIST, UUC_CREATED_AFTER, UUC_CREATED_BEFORE, UUC_DEBUG_ON, UUC_DELETE_VERSION_FLAG, UUC_ENABLED, UUC_ENABLED_DEFAULT, UUC_FILTER_ALLOW_OVERRIDE, UUC_FILTER_DATE, UUC_FILTER_DATE_TYPE, UUC_FILTER_DATE_VALUE, UUC_FILTER_DATE_WHEN, UUC_FILTER_TAG, UUC_FILTER_VERSION, UUC_GRACE_PERIOD, UUC_GRACE_PERIOD_DEFAULT, UUC_INTERVAL, UUC_INTERVAL_DEFAULT, UUC_LAST_ACCESSED_AFTER, UUC_LAST_ACCESSED_BEFORE, UUC_LAST_ACCESSED_NEVER, UUC_LIST_ITEM, UUC_LIST_REGEX, UUC_RULE_ABANDONED_GRACE_PERIOD, UUC_RULE_ABANDONED_TAG, UUC_RULE_UNUSED_GRACE_PERIOD, UUC_RULE_UNUSED_TAG, UUC_TAG, UUC_TEST_MODE_ON, UUC_WHITELIST
      • Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.AbstractConfigurationLoader

        authorizationServletConfig, casp, csp, messagesProvider, mpp, mup, tsp
      • Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.MyProxyConfigurationLoader

        mfp
      • Fields inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.servlet.DBConfigLoader

        derbyConnectionPoolProvider
      • Fields inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader

        cn, debugger, loggerProvider, myLogger
      • Fields inherited from interface edu.uiuc.ncsa.security.core.Version

        VERSION_NUMBER
    • Constructor Summary

      Constructors 
      Constructor Description
      CILOA2ConfigurationLoader​(org.apache.commons.configuration.tree.ConfigurationNode node)  
      CILOA2ConfigurationLoader​(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CILogonOA2ServiceEnvironment createInstance()  
      protected edu.uiuc.ncsa.myproxy.oa4mp.oauth2.storage.transactions.OA2SQLTransactionStoreProvider createSQLTSP​(org.apache.commons.configuration.tree.ConfigurationNode config, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider cpp, String type, edu.uiuc.ncsa.myproxy.oa4mp.server.storage.MultiDSClientStoreProvider clientStoreProvider, javax.inject.Provider tp, javax.inject.Provider tfp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)  
      edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<TwoFactorInfo> get2fp()  
      edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<ArchivedUser> getAUP()  
      edu.uiuc.ncsa.oa4mp.delegation.oa2.server.claims.ClaimSource getClaimSource()  
      protected DBServiceConfig getDBSerivceConfig()  
      edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<Incrementable> getIp()  
      edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<TwoFactorStore> getM2P()  
      edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<IdentityProviderStore> getMidp()  
      edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<ArchivedUserStore> getMUASP()  
      SerialStringProvider getSsp()  
      TokenPrefixProvider getTokenPrefixProvider()  
      protected javax.inject.Provider<edu.uiuc.ncsa.oa4mp.delegation.common.storage.TransactionStore> getTSP()  
      edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<User> getUP()  
      edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<UserStore> getUSP()  
      String getVersionString()  
      boolean isComputeFNAL()  
      boolean isprintTSInDebug()  
      • Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader

        createDefaultCMConfig, createGPR, createLR, createSQLTXRecordP, createSQLVOP, getAGIProvider, getAGLifetime, getAlarms, getAlarms, getATIProvider, getATLifetime, getCASP, getCleanupAlarms, getCleanupFailOnErrors, getCleanupInterval, getClientApprovalStoreProvider, getClientProvider, getClientSecretLength, getClientStoreProvider, getCmConfigs, getConstants, getCSP, getDerbyConnectionPoolProvider, getIDTokenLifetime, getInterval, getIssuer, getJSONWebKeys, getLdapConfiguration, getMacp, getMaxAGLifetime, getMaxATLifetime, getMaxClientRefreshTokenLifetime, getMaxIDTokenLifetime, getMaxRTLifetime, getMonitorAlarms, getMonitorInterval, getMultiJSONStoreProvider, getPAIProvider, getQdlConfigurationName, getQDLEnvironment, getRFC8628ServletConfig, getRTGracePeriod, getRTLifetime, getRuleFilter, getScopes, getTokenForgeProvider, getTransactionStoreProvider, getTSP, getTXStoreProvider, getTXStoreProvider, getUucConfiguration, getVOStoreProvider, getVOStoreProvider, isCleanupLockingEnabled, isDemoModeEnabled, isMonitorEnabled, isNotifyACEventEmailAddresses, isOIDCEnabled, isQdlStrictACLS, isRefreshTokenEnabled, isRFC7636Required, isRFC8628Enabled, isRFC8693Enabled, isSafeGC, isTwoFactorSupportEnabled, isUtilServerEnabled, NEWgetUUCConfiguration, OLDgetUucConfiguration, processUUCList, setMaxATLifetime, setRefreshTokenEnabled
      • Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.AbstractConfigurationLoader

        getAuthorizationServletConfig, getMailUtilProvider, getMaxAllowedNewClientRequests, getMP, getMpp, getPingable, getServiceAddress, getUsernameTransformer, initialize, load, loadPolling
      • Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.MyProxyConfigurationLoader

        getMyProxyFacadeProvider
      • Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.servlet.DBConfigLoader

        getDerbyConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMySQLConnectionPoolProvider, getMySQLConnectionPoolProvider, getPgConnectionPoolProvider, getPgConnectionPoolProvider, isDefaultStoreDisabled
      • Methods inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader

        debug, getDebugger, getLoggerProvider, getMyLogger, info, setLoggerProvider, warn
    • Constructor Detail

      • CILOA2ConfigurationLoader

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

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

      • getVersionString

        public String getVersionString()
        Overrides:
        getVersionString in class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader
      • getTSP

        protected javax.inject.Provider<edu.uiuc.ncsa.oa4mp.delegation.common.storage.TransactionStore> getTSP()
        Overrides:
        getTSP in class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader
      • createSQLTSP

        protected edu.uiuc.ncsa.myproxy.oa4mp.oauth2.storage.transactions.OA2SQLTransactionStoreProvider createSQLTSP​(org.apache.commons.configuration.tree.ConfigurationNode config,
                                                                                                                      edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider cpp,
                                                                                                                      String type,
                                                                                                                      edu.uiuc.ncsa.myproxy.oa4mp.server.storage.MultiDSClientStoreProvider clientStoreProvider,
                                                                                                                      javax.inject.Provider tp,
                                                                                                                      javax.inject.Provider tfp,
                                                                                                                      edu.uiuc.ncsa.security.storage.data.MapConverter converter)
        Overrides:
        createSQLTSP in class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader
      • createInstance

        public CILogonOA2ServiceEnvironment createInstance()
        Specified by:
        createInstance in interface edu.uiuc.ncsa.security.core.util.ConfigurationLoader<C extends edu.uiuc.ncsa.myproxy.oa4mp.oauth2.OA2SE>
        Overrides:
        createInstance in class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader
      • isprintTSInDebug

        public boolean isprintTSInDebug()
        Overrides:
        isprintTSInDebug in class edu.uiuc.ncsa.myproxy.oa4mp.oauth2.loader.OA2ConfigurationLoader
      • isComputeFNAL

        public boolean isComputeFNAL()