Class RemoteCacheProvider
- java.lang.Object
- 
- org.keycloak.connections.infinispan.RemoteCacheProvider
 
- 
 public class RemoteCacheProvider extends Object Get either just remoteCache associated with remoteStore associated with infinispan cache of given name. If security is enabled, then return secured remoteCache based on the template provided by remoteStore configuration but with added "authentication" configuration of secured hotrod endpoint (RemoteStore doesn't yet allow to configure "security" of hotrod endpoints) TODO: Remove this class once we upgrade to infinispan version, which allows to configure security for remoteStore itself- Author:
- Marek Posolda
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static org.jboss.logging.Loggerloggerstatic StringSCRIPT_CACHE_NAME
 - 
Constructor SummaryConstructors Constructor Description RemoteCacheProvider(Config.Scope config, org.infinispan.manager.EmbeddedCacheManager cacheManager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.infinispan.client.hotrod.RemoteCacheManagergetOrCreateSecuredRemoteCacheManager(Config.Scope config, String cacheName, org.infinispan.client.hotrod.RemoteCacheManager origManager)org.infinispan.client.hotrod.RemoteCachegetRemoteCache(String cacheName)protected org.infinispan.client.hotrod.RemoteCacheloadRemoteCache(String cacheName)voidstop()
 
- 
- 
- 
Field Detail- 
SCRIPT_CACHE_NAMEpublic static final String SCRIPT_CACHE_NAME - See Also:
- Constant Field Values
 
 - 
loggerprotected static final org.jboss.logging.Logger logger 
 
- 
 - 
Constructor Detail- 
RemoteCacheProviderpublic RemoteCacheProvider(Config.Scope config, org.infinispan.manager.EmbeddedCacheManager cacheManager) 
 
- 
 - 
Method Detail- 
getRemoteCachepublic org.infinispan.client.hotrod.RemoteCache getRemoteCache(String cacheName) 
 - 
stoppublic void stop() 
 - 
loadRemoteCacheprotected org.infinispan.client.hotrod.RemoteCache loadRemoteCache(String cacheName) 
 - 
getOrCreateSecuredRemoteCacheManagerprotected org.infinispan.client.hotrod.RemoteCacheManager getOrCreateSecuredRemoteCacheManager(Config.Scope config, String cacheName, org.infinispan.client.hotrod.RemoteCacheManager origManager) 
 
- 
 
-