public class OA2ClientLoader<T extends ClientEnvironment> extends AbstractClientLoader<T>
Created by Jeff Gaynor
on 6/4/13 at 4:34 PM
LoggingConfigLoader.MyLoggerProvider
Modifier and Type | Field and Description |
---|---|
protected Collection<String> |
scopes |
ACCESS_TOKEN_ENDPOINT, ASSET_ENDPOINT, assetStoreProvider, AUTHORIZE_ENDPOINT, defaultCertLifetime, dsp, INITIATE_ENDPOINT, USER_INFO_ENDPOINT
cn, loggerProvider, myLogger
VERSION_NUMBER
Constructor and Description |
---|
OA2ClientLoader(org.apache.commons.configuration.tree.ConfigurationNode node) |
Modifier and Type | Method and Description |
---|---|
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() |
protected javax.inject.Provider<AssetStore> |
getAssetStoreProvider() |
protected URI |
getAuthzURI() |
HashMap<String,String> |
getConstants()
Get any constants associated with this loader.
|
protected javax.inject.Provider<DelegationService> |
getDSP() |
protected String |
getErrorPagePath() |
protected String |
getRedirectPagePath() |
protected URI |
getRevocationURI() |
Collection<String> |
getScopes() |
protected String |
getSecret() |
OA4MPServiceProvider |
getServiceProvider()
The provider that creates an instance of the
OA4MPService |
protected String |
getSuccessPagePath() |
protected URI |
getUIURI() |
String |
getVersionString()
Returns a string that identifies the version of this server.
|
String |
getWellKnownURI() |
boolean |
isOIDCEnabled() |
boolean |
isShowIDToken()
An option for the (demo) client that specifies that the user should be shown the ID token at some point.
|
protected boolean |
isShowRedirectPage() |
Boolean |
isUseBasicAuth()
For calls the client makes to the service, use HTTP Basic Authorization rather than passing in the
credentials as parameters.
|
void |
setUseBasicAuth(Boolean useBasicAuth) |
checkCertLifetime, checkProtocol, checkURI, createServiceClient, createServiceURI, getAccessTokenURI, getAssetURI, getAuthorizeURI, getBaseURI, getCallback, getCfgValue, getId, getInitiateURI, getKeypairLifetime, getMaxAssetLifetime, getSkin, getSSLConfiguration, isEnableAssetCleanup, load
getMariaDBConnectionPoolProvider, getMariaDBConnectionPoolProvider, getMySQLConnectionPoolProvider, getMySQLConnectionPoolProvider, getPgConnectionPoolProvider, getPgConnectionPoolProvider, isDefaultStoreDisabled
debug, info, loadDebug, warn
protected Collection<String> scopes
public OA2ClientLoader(org.apache.commons.configuration.tree.ConfigurationNode node)
public String getVersionString()
LoggingConfigLoader
getVersionString
in class LoggingConfigLoader<T extends ClientEnvironment>
public OA4MPServiceProvider getServiceProvider()
ClientLoaderInterface
OA4MPService
public Collection<String> getScopes() throws IllegalAccessException, InstantiationException, ClassNotFoundException
public T createInstance(javax.inject.Provider<TokenForge> tokenForgeProvider, javax.inject.Provider<Client> clientProvider, HashMap<String,String> constants)
tokenForgeProvider
- clientProvider
- constants
- public AssetProvider getAssetProvider()
getAssetProvider
in class AbstractClientLoader<T extends ClientEnvironment>
public String getWellKnownURI()
public boolean isShowIDToken()
false
public boolean isOIDCEnabled()
protected javax.inject.Provider<AssetStore> getAssetStoreProvider()
getAssetStoreProvider
in class AbstractClientLoader<T extends ClientEnvironment>
protected String getErrorPagePath()
protected String getSecret()
protected String getSuccessPagePath()
protected String getRedirectPagePath()
protected boolean isShowRedirectPage()
public T createInstance()
ConfigurationLoader
public Boolean isUseBasicAuth()
public void setUseBasicAuth(Boolean useBasicAuth)
protected javax.inject.Provider<DelegationService> getDSP()
getDSP
in class AbstractClientLoader<T extends ClientEnvironment>
protected URI getUIURI()
protected URI getAuthzURI()
protected URI getRevocationURI()
public HashMap<String,String> getConstants()
ConfigurationLoader
Copyright © 2019. All Rights Reserved.