public class InMemoryCache extends MapCache
OAuth2Cache implementation using in-memory HashMaps.| Constructor and Description |
|---|
InMemoryCache() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAccessorKey(OAuth2Accessor accessor) |
protected String |
getAccessorKey(OAuth2CallbackState state) |
protected Map<String,OAuth2Accessor> |
getAccessorMap() |
protected String |
getClientKey(OAuth2Client client) |
protected String |
getClientKey(String gadgetUri,
String serviceName) |
protected Map<String,OAuth2Client> |
getClientMap() |
protected String |
getTokenKey(OAuth2Token token) |
protected String |
getTokenKey(String gadgetUri,
String serviceName,
String user,
String scope,
OAuth2Token.Type type) |
protected Map<String,OAuth2Token> |
getTokenMap() |
clearAccessors, clearClients, clearTokens, getAccessorKey, getClient, getOAuth2Accessor, getToken, isPrimed, removeClient, removeOAuth2Accessor, removeToken, storeClient, storeClients, storeOAuth2Accessor, storeToken, storeTokensprotected Map<String,OAuth2Client> getClientMap()
getClientMap in class MapCacheprotected Map<String,OAuth2Token> getTokenMap()
getTokenMap in class MapCacheprotected Map<String,OAuth2Accessor> getAccessorMap()
getAccessorMap in class MapCacheprotected String getClientKey(OAuth2Client client)
getClientKey in class MapCacheprotected String getClientKey(String gadgetUri, String serviceName)
getClientKey in class MapCacheprotected String getAccessorKey(OAuth2CallbackState state)
getAccessorKey in class MapCacheprotected String getAccessorKey(OAuth2Accessor accessor)
getAccessorKey in class MapCacheprotected String getTokenKey(String gadgetUri, String serviceName, String user, String scope, OAuth2Token.Type type)
getTokenKey in class MapCacheprotected String getTokenKey(OAuth2Token token)
getTokenKey in class MapCacheCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.