public class TestOAuth2Manager extends BaseOAuth2Manager<OAuth2Adapter>
ACCESS_TOKEN_URL, AUTHORIZATION_URL, flowConstruct, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
TestOAuth2Manager(org.apache.commons.pool.KeyedPoolableObjectFactory<String,OAuth2Adapter> objectFactory,
OAuth2Adapter adapter) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.pool.KeyedPoolableObjectFactory<String,OAuth2Adapter> |
createPoolFactory(OAuth2Manager<OAuth2Adapter> oauthManager,
ObjectStore<Serializable> objectStore) |
protected void |
fetchCallbackParameters(OAuth2Adapter adapter,
String response) |
org.apache.commons.pool.KeyedPoolableObjectFactory<String,OAuth2Adapter> |
getAccessTokenPoolFactory() |
protected Logger |
getLogger() |
protected OAuth2Adapter |
instantiateAdapter() |
protected Set<Class<? extends Exception>> |
refreshAccessTokenOn() |
protected void |
setCustomProperties(OAuth2Adapter adapter) |
acquireAccessToken, buildAuthorizeUrl, createAdapter, destroyAccessToken, dispose, fetchAccessToken, getAccessTokenObjectStore, getApplicationName, getConsumerKey, getConsumerSecret, getDefaultAccessTokenId, getDefaultUnauthorizedConnector, getFlowConstruct, getMuleContext, getName, getOnNoTokenPolicy, getProcessTemplate, getScope, hasBeenAuthorized, initialise, isCapableOf, postAuth, refreshAccessToken, releaseAccessToken, restoreAuthorizationEvent, setAccessTokenObjectStore, setAccessTokenPool, setAccessTokenUrl, setApplicationName, setAuthorizationUrl, setConsumerKey, setConsumerSecret, setDefaultAccessTokenId, setDefaultUnauthorizedConnector, setFlowConstruct, setHttpUtil, setMuleContext, setName, setOauthResponseParser, setOnNoTokenPolicy, setRefreshTokenManager, setScope, start, stop, storeAuthorizationEvent
getAsync, getConnector, getDomain, getLocalPort, getPath, getRemotePort, setAsync, setConnector, setDomain, setLocalPort, setPath, setRemotePort
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsync, getConnector, getDomain, getLocalPort, getPath, getRemotePort, setAsync, setConnector, setDomain, setLocalPort, setPath, setRemotePort
public TestOAuth2Manager(org.apache.commons.pool.KeyedPoolableObjectFactory<String,OAuth2Adapter> objectFactory, OAuth2Adapter adapter)
protected Logger getLogger()
getLogger
in class BaseOAuth2Manager<OAuth2Adapter>
protected org.apache.commons.pool.KeyedPoolableObjectFactory<String,OAuth2Adapter> createPoolFactory(OAuth2Manager<OAuth2Adapter> oauthManager, ObjectStore<Serializable> objectStore)
createPoolFactory
in class BaseOAuth2Manager<OAuth2Adapter>
protected void fetchCallbackParameters(OAuth2Adapter adapter, String response)
fetchCallbackParameters
in class BaseOAuth2Manager<OAuth2Adapter>
protected void setCustomProperties(OAuth2Adapter adapter)
setCustomProperties
in class BaseOAuth2Manager<OAuth2Adapter>
protected OAuth2Adapter instantiateAdapter()
instantiateAdapter
in class BaseOAuth2Manager<OAuth2Adapter>
protected Set<Class<? extends Exception>> refreshAccessTokenOn()
refreshAccessTokenOn
in class BaseOAuth2Manager<OAuth2Adapter>
public org.apache.commons.pool.KeyedPoolableObjectFactory<String,OAuth2Adapter> getAccessTokenPoolFactory()
getAccessTokenPoolFactory
in interface OAuth2Manager<OAuth2Adapter>
getAccessTokenPoolFactory
in class BaseOAuth2Manager<OAuth2Adapter>
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.