Class AbstractCFConfigurationLoader<T extends ServiceEnvironmentImpl>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.CFLoggingConfigLoader<T>
-
- edu.uiuc.ncsa.security.storage.CFDBConfigLoader<T>
-
- org.oa4mp.server.api.storage.servlet.AbstractCFConfigurationLoader<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.util.ConfigurationLoader<T>,edu.uiuc.ncsa.security.core.Version,Serializable,ConfigurationLoaderInterface
- Direct Known Subclasses:
OA2CFConfigurationLoader
public abstract class AbstractCFConfigurationLoader<T extends ServiceEnvironmentImpl> extends edu.uiuc.ncsa.security.storage.CFDBConfigLoader<T> implements ConfigurationLoaderInterface
Loader for the CF loader system, replacing Apache commons loader- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthorizationServletConfigauthorizationServletConfigprotected MultiDSClientApprovalStoreProvidercaspprotected MultiDSClientStoreProvidercspprotected ServiceEnvironmentImpl.MessagesProvidermessagesProviderprotected MultiDSPermissionStoreProvidermppprotected edu.uiuc.ncsa.security.util.mail.MailUtilProvidermupprotected javax.inject.Provider<TransactionStore>tsp-
Fields inherited from class edu.uiuc.ncsa.security.storage.CFDBConfigLoader
derbyConnectionPoolProvider, mariaDBConnectionPoolProvider, mySQLConnectionPoolProvider, pgConnectionPoolProvider
-
-
Constructor Summary
Constructors Constructor Description AbstractCFConfigurationLoader(edu.uiuc.ncsa.security.core.cf.CFNode node)AbstractCFConfigurationLoader(edu.uiuc.ncsa.security.core.cf.CFNode node, edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TcreateInstance()AuthorizationServletConfiggetAuthorizationServletConfig()protected MultiDSClientApprovalStoreProvidergetCASP()protected abstract MultiDSClientStoreProvidergetCSP()protected edu.uiuc.ncsa.security.util.mail.MailUtilProvidergetMailUtilProvider()intgetMaxAllowedNewClientRequests()protected ServiceEnvironmentImpl.MessagesProvidergetMP()protected MultiDSPermissionStoreProvidergetMpp()protected booleangetPingable()URIgetServiceAddress()protected javax.inject.Provider<TransactionStore>getTSP()edu.uiuc.ncsa.security.servlet.UsernameTransformergetUsernameTransformer()protected voidinitialize()This has things that need to be executed before other code, e.g. setting up schemes for creating identifiers.Tload()Object[]loadPolling()Returns the polling directory and polling interval (resp. a file and a long, so they come back as objects).-
Methods inherited from class edu.uiuc.ncsa.security.storage.CFDBConfigLoader
getDerbyConnectionPoolProvider, getDerbyConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMySQLConnectionPoolProvider, getMySQLConnectionPoolProvider, getPgConnectionPoolProvider, getPgConnectionPoolProvider, isDefaultStoreDisabled
-
Methods inherited from class edu.uiuc.ncsa.security.core.util.CFLoggingConfigLoader
debug, getDebugger, getLoggerProvider, getMyLogger, getVersionString, info, setLoggerProvider, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.oa4mp.server.api.storage.servlet.ConfigurationLoaderInterface
getAGIProvider, getATIProvider, getClientApprovalStoreProvider, getClientProvider, getClientStoreProvider, getConstants, getPAIProvider, getTokenForgeProvider, getTransactionStoreProvider
-
-
-
-
Field Detail
-
csp
protected MultiDSClientStoreProvider csp
-
casp
protected MultiDSClientApprovalStoreProvider casp
-
mup
protected edu.uiuc.ncsa.security.util.mail.MailUtilProvider mup
-
mpp
protected MultiDSPermissionStoreProvider mpp
-
messagesProvider
protected ServiceEnvironmentImpl.MessagesProvider messagesProvider
-
authorizationServletConfig
protected AuthorizationServletConfig authorizationServletConfig
-
tsp
protected javax.inject.Provider<TransactionStore> tsp
-
-
Method Detail
-
getAuthorizationServletConfig
public AuthorizationServletConfig getAuthorizationServletConfig()
-
initialize
protected void initialize()
This has things that need to be executed before other code, e.g. setting up schemes for creating identifiers.- Throws:
Exception
-
loadPolling
public Object[] loadPolling()
Returns the polling directory and polling interval (resp. a file and a long, so they come back as objects). This can be called independently of the rest of the bootstrap.- Returns:
-
getTSP
protected javax.inject.Provider<TransactionStore> getTSP()
-
getCSP
protected abstract MultiDSClientStoreProvider getCSP()
-
getMpp
protected MultiDSPermissionStoreProvider getMpp()
-
getCASP
protected MultiDSClientApprovalStoreProvider getCASP()
-
getMailUtilProvider
protected edu.uiuc.ncsa.security.util.mail.MailUtilProvider getMailUtilProvider()
-
getMP
protected ServiceEnvironmentImpl.MessagesProvider getMP()
-
createInstance
public T createInstance()
- Specified by:
createInstancein interfaceedu.uiuc.ncsa.security.core.util.ConfigurationLoader<T extends ServiceEnvironmentImpl>
-
getPingable
protected boolean getPingable()
-
getMaxAllowedNewClientRequests
public int getMaxAllowedNewClientRequests()
-
getServiceAddress
public URI getServiceAddress()
-
getUsernameTransformer
public edu.uiuc.ncsa.security.servlet.UsernameTransformer getUsernameTransformer()
-
load
public T load()
- Specified by:
loadin interfaceedu.uiuc.ncsa.security.core.util.ConfigurationLoader<T extends ServiceEnvironmentImpl>
-
-