Class InfinispanCacheStoreFactoryProviderFactory
java.lang.Object
org.keycloak.models.cache.infinispan.authorization.InfinispanCacheStoreFactoryProviderFactory
- All Implemented Interfaces:
CachedStoreProviderFactory,ProviderFactory<CachedStoreFactoryProvider>
public class InfinispanCacheStoreFactoryProviderFactory
extends Object
implements CachedStoreProviderFactory
- Author:
- Bill Burke, Stian Thorgersen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final RealmModelLegacy store doesn't store realm id for any entity and no method there is using new introduced RealmModel parameter.protected StoreFactoryCacheManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()create(KeycloakSession session) getId()voidinit(Config.Scope config) voidpostInit(KeycloakSessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Field Details
-
AUTHORIZATION_CLEAR_CACHE_EVENTS
- See Also:
-
AUTHORIZATION_INVALIDATION_EVENTS
- See Also:
-
storeCache
-
NULL_REALM
Legacy store doesn't store realm id for any entity and no method there is using new introduced RealmModel parameter. The parameter was introduced for usage only in the new storage. Therefore, in some cases we may break our rule specified in JavaDoc and usenullvalue as parameter that otherwise cannot benull. We need to be careful and place such value only to a method call that cannot end up in the new store because it would end withNullPointerException. To mark all places where we do this, we use this variable so it is easily searchable.
-
-
Constructor Details
-
InfinispanCacheStoreFactoryProviderFactory
public InfinispanCacheStoreFactoryProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<CachedStoreFactoryProvider>
-
init
- Specified by:
initin interfaceProviderFactory<CachedStoreFactoryProvider>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<CachedStoreFactoryProvider>
-
close
public void close()- Specified by:
closein interfaceProviderFactory<CachedStoreFactoryProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<CachedStoreFactoryProvider>
-