public abstract class AbstractClientLoader<T extends ClientEnvironment> extends DBConfigLoader<T> implements ClientLoaderInterface
Created by Jeff Gaynor
on 11/25/13 at 1:12 PM
LoggingConfigLoader.MyLoggerProvider
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN_ENDPOINT |
static String |
ASSET_ENDPOINT |
protected javax.inject.Provider<AssetStore> |
assetStoreProvider |
static String |
AUTHORIZE_ENDPOINT |
static long |
defaultCertLifetime |
protected javax.inject.Provider<DelegationService> |
dsp |
static String |
INITIATE_ENDPOINT |
static String |
USER_INFO_ENDPOINT |
cn, loggerProvider, myLogger
VERSION_NUMBER
Modifier | Constructor and Description |
---|---|
protected |
AbstractClientLoader(org.apache.commons.configuration.tree.ConfigurationNode node) |
protected |
AbstractClientLoader(org.apache.commons.configuration.tree.ConfigurationNode node,
MyLoggingFacade logger) |
Modifier and Type | Method and Description |
---|---|
protected long |
checkCertLifetime() |
protected void |
checkProtocol(String b)
Fix for OAUTH-107.
|
protected URI |
checkURI(String x,
String componentName) |
ServiceClient |
createServiceClient(URI host) |
protected URI |
createServiceURI(String foundURI,
String baseUri,
String serviceEndpoint)
Checks if there is a found uri in the configuration.
|
protected URI |
getAccessTokenURI() |
abstract AssetProvider |
getAssetProvider() |
protected javax.inject.Provider<AssetStore> |
getAssetStoreProvider() |
protected URI |
getAssetURI() |
protected URI |
getAuthorizeURI() |
protected String |
getBaseURI() |
protected URI |
getCallback() |
protected String |
getCfgValue(String key)
This takes a key and returns the value of the node associated with that key.
|
protected abstract javax.inject.Provider<DelegationService> |
getDSP() |
protected String |
getId() |
protected URI |
getInitiateURI() |
protected long |
getKeypairLifetime() |
protected long |
getMaxAssetLifetime() |
protected String |
getSkin() |
SSLConfiguration |
getSSLConfiguration() |
protected boolean |
isEnableAssetCleanup() |
T |
load()
load the configuration.
|
getMariaDBConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMySQLConnectionPoolProvider, getMySQLConnectionPoolProvider, getPgConnectionPoolProvider, getPgConnectionPoolProvider, isDefaultStoreDisabled
debug, getVersionString, info, loadDebug, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceProvider
createInstance, getConstants
public static final String ACCESS_TOKEN_ENDPOINT
public static final String AUTHORIZE_ENDPOINT
public static final String ASSET_ENDPOINT
public static final String INITIATE_ENDPOINT
public static final String USER_INFO_ENDPOINT
public static final long defaultCertLifetime
protected javax.inject.Provider<AssetStore> assetStoreProvider
protected javax.inject.Provider<DelegationService> dsp
protected AbstractClientLoader(org.apache.commons.configuration.tree.ConfigurationNode node)
protected AbstractClientLoader(org.apache.commons.configuration.tree.ConfigurationNode node, MyLoggingFacade logger)
public abstract AssetProvider getAssetProvider()
protected javax.inject.Provider<AssetStore> getAssetStoreProvider()
protected abstract javax.inject.Provider<DelegationService> getDSP()
protected String getCfgValue(String key)
key
- protected String getSkin()
protected long getKeypairLifetime()
protected long getMaxAssetLifetime()
protected boolean isEnableAssetCleanup()
protected URI createServiceURI(String foundURI, String baseUri, String serviceEndpoint)
foundURI
- baseUri
- serviceEndpoint
- protected long checkCertLifetime()
protected String getId()
protected URI getCallback()
protected void checkProtocol(String b)
b
- protected String getBaseURI()
protected URI getAccessTokenURI()
protected URI getAssetURI()
protected URI getAuthorizeURI()
protected URI getInitiateURI()
public T load()
ConfigurationLoader
load
in interface ConfigurationLoader<T extends ClientEnvironment>
public SSLConfiguration getSSLConfiguration()
public ServiceClient createServiceClient(URI host)
Copyright © 2019. All Rights Reserved.