Class InfinispanCacheRealmProviderFactory
java.lang.Object
org.keycloak.models.cache.infinispan.InfinispanCacheRealmProviderFactory
- All Implemented Interfaces:
CacheRealmProviderFactory,ProviderFactory<CacheRealmProvider>
public class InfinispanCacheRealmProviderFactory
extends Object
implements CacheRealmProviderFactory
- Author:
- Bill Burke, Stian Thorgersen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected RealmCacheManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
REALM_CLEAR_CACHE_EVENTS
- See Also:
-
REALM_INVALIDATION_EVENTS
- See Also:
-
realmCache
-
-
Constructor Details
-
InfinispanCacheRealmProviderFactory
public InfinispanCacheRealmProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<CacheRealmProvider>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<CacheRealmProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<CacheRealmProvider>
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<CacheRealmProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<CacheRealmProvider>
-