public class ClientLoader<T extends ClientEnvironment> extends AbstractClientLoader<T>
ClientEnvironment
.
Created by Jeff Gaynor
on 3/23/12 at 8:04 AM
LoggingConfigLoader.MyLoggerProvider
ACCESS_TOKEN_ENDPOINT, ASSET_ENDPOINT, assetStoreProvider, AUTHORIZE_ENDPOINT, defaultCertLifetime, dsp, INITIATE_ENDPOINT, USER_INFO_ENDPOINT
cn, loggerProvider, myLogger
VERSION_NUMBER
Constructor and Description |
---|
ClientLoader(org.apache.commons.configuration.tree.ConfigurationNode configurationNode) |
Modifier and Type | Method and Description |
---|---|
protected PrivateKey |
checkPrivateKey() |
protected PublicKey |
checkPublicKey() |
T |
createInstance()
Internal call to Create the service environment from the initialized state of this boot strapper.
|
T |
createInstance(javax.inject.Provider<TokenForge> tokenForgeProvider,
javax.inject.Provider<Client> clientProvider,
HashMap<String,String> constants)
Factory method.
|
AssetProvider |
getAssetProvider() |
HashMap<String,String> |
getConstants()
Get any constants associated with this loader.
|
protected javax.inject.Provider<DelegationService> |
getDSP() |
protected String |
getErrorPagePath() |
protected String |
getRedirectPagePath() |
OA4MPServiceProvider |
getServiceProvider()
This will return a service provider.
|
protected String |
getSuccessPagePath() |
String |
getVersionString()
Returns a string that identifies the version of this server.
|
protected void |
init() |
protected boolean |
isShowRedirectPage() |
checkCertLifetime, checkProtocol, checkURI, createServiceClient, createServiceURI, getAccessTokenURI, getAssetStoreProvider, getAssetURI, getAuthorizeURI, getBaseURI, getCallback, getCfgValue, getId, getInitiateURI, getKeypairLifetime, getMaxAssetLifetime, getSkin, getSSLConfiguration, isEnableAssetCleanup, load
getMariaDBConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMySQLConnectionPoolProvider, getMySQLConnectionPoolProvider, getPgConnectionPoolProvider, getPgConnectionPoolProvider, isDefaultStoreDisabled
debug, info, loadDebug, warn
public ClientLoader(org.apache.commons.configuration.tree.ConfigurationNode configurationNode)
public String getVersionString()
LoggingConfigLoader
getVersionString
in class LoggingConfigLoader<T extends ClientEnvironment>
public T createInstance(javax.inject.Provider<TokenForge> tokenForgeProvider, javax.inject.Provider<Client> clientProvider, HashMap<String,String> constants)
tokenForgeProvider
- clientProvider
- constants
- protected void init()
public AssetProvider getAssetProvider()
getAssetProvider
in class AbstractClientLoader<T extends ClientEnvironment>
protected boolean isShowRedirectPage()
protected String getErrorPagePath()
protected String getSuccessPagePath()
protected String getRedirectPagePath()
public T createInstance()
ConfigurationLoader
protected PrivateKey checkPrivateKey() throws IOException
IOException
protected PublicKey checkPublicKey() throws IOException
IOException
public OA4MPServiceProvider getServiceProvider()
AbstractClientLoader.load()
has been called.protected javax.inject.Provider<DelegationService> getDSP()
getDSP
in class AbstractClientLoader<T extends ClientEnvironment>
public HashMap<String,String> getConstants()
ConfigurationLoader
Copyright © 2019. All Rights Reserved.