Class RemoteCacheProvider
java.lang.Object
org.keycloak.connections.infinispan.RemoteCacheProvider
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 Summary
Modifier and TypeFieldDescriptionprotected static final org.jboss.logging.Logger
static final String
-
Constructor Summary
ConstructorDescriptionRemoteCacheProvider
(Config.Scope config, org.infinispan.manager.EmbeddedCacheManager cacheManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.infinispan.client.hotrod.RemoteCacheManager
getOrCreateSecuredRemoteCacheManager
(Config.Scope config, String cacheName, org.infinispan.client.hotrod.RemoteCacheManager origManager) org.infinispan.client.hotrod.RemoteCache
getRemoteCache
(String cacheName) protected org.infinispan.client.hotrod.RemoteCache
loadRemoteCache
(String cacheName) void
stop()
-
Field Details
-
SCRIPT_CACHE_NAME
- See Also:
-
logger
protected static final org.jboss.logging.Logger logger
-
-
Constructor Details
-
RemoteCacheProvider
public RemoteCacheProvider(Config.Scope config, org.infinispan.manager.EmbeddedCacheManager cacheManager)
-
-
Method Details
-
getRemoteCache
-
stop
public void stop() -
loadRemoteCache
-
getOrCreateSecuredRemoteCacheManager
protected org.infinispan.client.hotrod.RemoteCacheManager getOrCreateSecuredRemoteCacheManager(Config.Scope config, String cacheName, org.infinispan.client.hotrod.RemoteCacheManager origManager)
-