Class CILOA2ConfigurationLoader<C extends org.oa4mp.server.loader.oauth2.OA2SE>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.LoggingConfigLoader<T>
-
- org.oa4mp.delegation.common.servlet.DBConfigLoader<T>
-
- org.oa4mp.server.api.storage.servlet.MyProxyConfigurationLoader<T>
-
- org.oa4mp.server.api.storage.servlet.AbstractConfigurationLoader<T>
-
- org.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
-
- org.cilogon.oauth2.servlet.loader.CILOA2ConfigurationLoader<C>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.util.ConfigurationLoader
,edu.uiuc.ncsa.security.core.Version
,Serializable
,CILogonConfiguration
,org.oa4mp.server.api.storage.servlet.ConfigurationLoaderInterface
public class CILOA2ConfigurationLoader<C extends org.oa4mp.server.loader.oauth2.OA2SE> extends org.oa4mp.server.loader.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 org.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
org.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader.OA2MultiDSClientStoreProvider, org.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader.OA4MP2TProvider, org.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader.ST2Provider
-
-
Field Summary
-
Fields inherited from class org.oa4mp.server.loader.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 org.oa4mp.server.api.storage.servlet.AbstractConfigurationLoader
authorizationServletConfig, casp, csp, messagesProvider, mpp, mup, tsp
-
Fields inherited from class org.oa4mp.delegation.common.servlet.DBConfigLoader
derbyConnectionPoolProvider
-
-
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 org.oa4mp.server.loader.oauth2.storage.transactions.OA2SQLTransactionStoreProvider
createSQLTSP(org.apache.commons.configuration.tree.ConfigurationNode config, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider cpp, String type, org.oa4mp.server.api.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()
org.oa4mp.delegation.server.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<org.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 org.oa4mp.server.loader.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, isCCFEnabled, isCleanupLockingEnabled, isDemoModeEnabled, isMonitorEnabled, isNotifyACEventEmailAddresses, isOIDCEnabled, isQdlStrictACLS, isRefreshTokenEnabled, isRFC7636Required, isRFC8628Enabled, isRFC8693Enabled, isSafeGC, isTwoFactorSupportEnabled, isUtilServerEnabled, NEWgetUUCConfiguration, OLDgetUucConfiguration, processUUCList, setMaxATLifetime, setRefreshTokenEnabled
-
Methods inherited from class org.oa4mp.server.api.storage.servlet.AbstractConfigurationLoader
getAuthorizationServletConfig, getMailUtilProvider, getMaxAllowedNewClientRequests, getMP, getMpp, getPingable, getServiceAddress, getUsernameTransformer, initialize, load, loadPolling
-
Methods inherited from class org.oa4mp.server.api.storage.servlet.MyProxyConfigurationLoader
getMyProxyFacadeProvider
-
Methods inherited from class org.oa4mp.delegation.common.servlet.DBConfigLoader
getDerbyConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMySQLConnectionPoolProvider, getMySQLConnectionPoolProvider, getPgConnectionPoolProvider, getPgConnectionPoolProvider, isDefaultStoreDisabled
-
-
-
-
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
-
get2fp
public edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<TwoFactorInfo> get2fp()
- Specified by:
get2fp
in interfaceCILogonConfiguration
-
getSsp
public SerialStringProvider getSsp()
- Specified by:
getSsp
in interfaceCILogonConfiguration
-
getTokenPrefixProvider
public TokenPrefixProvider getTokenPrefixProvider()
- Specified by:
getTokenPrefixProvider
in interfaceCILogonConfiguration
-
getM2P
public edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<TwoFactorStore> getM2P()
- Specified by:
getM2P
in interfaceCILogonConfiguration
-
getIp
public edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<Incrementable> getIp()
- Specified by:
getIp
in interfaceCILogonConfiguration
-
getUSP
public edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<UserStore> getUSP()
- Specified by:
getUSP
in interfaceCILogonConfiguration
-
getMUASP
public edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<ArchivedUserStore> getMUASP()
- Specified by:
getMUASP
in interfaceCILogonConfiguration
-
getMidp
public edu.uiuc.ncsa.security.core.configuration.provider.MultiTypeProvider<IdentityProviderStore> getMidp()
- Specified by:
getMidp
in interfaceCILogonConfiguration
-
getAUP
public edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<ArchivedUser> getAUP()
- Specified by:
getAUP
in interfaceCILogonConfiguration
-
getUP
public edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<User> getUP()
- Specified by:
getUP
in interfaceCILogonConfiguration
-
getVersionString
public String getVersionString()
- Overrides:
getVersionString
in classorg.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
-
getTSP
protected javax.inject.Provider<org.oa4mp.delegation.common.storage.TransactionStore> getTSP()
- Overrides:
getTSP
in classorg.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
-
createSQLTSP
protected org.oa4mp.server.loader.oauth2.storage.transactions.OA2SQLTransactionStoreProvider createSQLTSP(org.apache.commons.configuration.tree.ConfigurationNode config, edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider cpp, String type, org.oa4mp.server.api.storage.MultiDSClientStoreProvider clientStoreProvider, javax.inject.Provider tp, javax.inject.Provider tfp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)
- Overrides:
createSQLTSP
in classorg.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
-
createInstance
public CILogonOA2ServiceEnvironment createInstance()
- Specified by:
createInstance
in interfaceedu.uiuc.ncsa.security.core.util.ConfigurationLoader<C extends org.oa4mp.server.loader.oauth2.OA2SE>
- Overrides:
createInstance
in classorg.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
-
isprintTSInDebug
public boolean isprintTSInDebug()
- Overrides:
isprintTSInDebug
in classorg.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
-
getClaimSource
public org.oa4mp.delegation.server.server.claims.ClaimSource getClaimSource() throws ClassNotFoundException, IllegalAccessException, InstantiationException
- Overrides:
getClaimSource
in classorg.oa4mp.server.loader.oauth2.loader.OA2ConfigurationLoader
- Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException
-
isComputeFNAL
public boolean isComputeFNAL()
-
getDBSerivceConfig
protected DBServiceConfig getDBSerivceConfig()
-
-