Class AbstractConfigurationLoader<T extends ServiceEnvironmentImpl>
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.LoggingConfigLoader<T>
-
- org.oa4mp.delegation.common.servlet.DBConfigLoader<T>
-
- org.oa4mp.server.api.servlet.storage.MyProxyConfigurationLoader<T>
-
- org.oa4mp.server.api.servlet.storage.AbstractConfigurationLoader<T>
-
- All Implemented Interfaces:
ConfigurationLoaderInterface
,edu.uiuc.ncsa.security.core.util.ConfigurationLoader<T>
,edu.uiuc.ncsa.security.core.Version
,Serializable
- Direct Known Subclasses:
OA2ConfigurationLoader
public abstract class AbstractConfigurationLoader<T extends ServiceEnvironmentImpl> extends MyProxyConfigurationLoader<T> implements ConfigurationLoaderInterface
All servers configuration loaders should extend this.Created by Jeff Gaynor
on 4/26/12 at 1:18 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthorizationServletConfig
authorizationServletConfig
protected MultiDSClientApprovalStoreProvider
casp
protected MultiDSClientStoreProvider
csp
protected ServiceEnvironmentImpl.MessagesProvider
messagesProvider
protected MultiDSPermissionStoreProvider
mpp
protected edu.uiuc.ncsa.security.util.mail.MailUtilProvider
mup
protected javax.inject.Provider<TransactionStore>
tsp
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.MyProxyConfigurationLoader
mfp
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigurationLoader(org.apache.commons.configuration.tree.ConfigurationNode node)
AbstractConfigurationLoader(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
createInstance()
AuthorizationServletConfig
getAuthorizationServletConfig()
protected MultiDSClientApprovalStoreProvider
getCASP()
protected abstract MultiDSClientStoreProvider
getCSP()
protected edu.uiuc.ncsa.security.util.mail.MailUtilProvider
getMailUtilProvider()
int
getMaxAllowedNewClientRequests()
protected ServiceEnvironmentImpl.MessagesProvider
getMP()
protected MultiDSPermissionStoreProvider
getMpp()
protected boolean
getPingable()
URI
getServiceAddress()
protected javax.inject.Provider<TransactionStore>
getTSP()
edu.uiuc.ncsa.security.servlet.UsernameTransformer
getUsernameTransformer()
protected void
initialize()
This has things that need to be executed before other code, e.g.T
load()
Object[]
loadPolling()
Returns the polling directory and polling interval (resp.-
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, getDerbyConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMySQLConnectionPoolProvider, getMySQLConnectionPoolProvider, getPgConnectionPoolProvider, getPgConnectionPoolProvider, isDefaultStoreDisabled
-
Methods inherited from class edu.uiuc.ncsa.security.core.util.LoggingConfigLoader
debug, getDebugger, getVersionString, info, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.uiuc.ncsa.myproxy.oa4mp.server.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
-
-
Constructor Detail
-
AbstractConfigurationLoader
public AbstractConfigurationLoader(org.apache.commons.configuration.tree.ConfigurationNode node, edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger)
-
AbstractConfigurationLoader
public AbstractConfigurationLoader(org.apache.commons.configuration.tree.ConfigurationNode node)
-
-
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:
createInstance
in 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:
load
in interfaceedu.uiuc.ncsa.security.core.util.ConfigurationLoader<T extends ServiceEnvironmentImpl>
-
-