public class InfinispanUserCacheProviderFactory extends Object implements UserCacheProviderFactory
Modifier and Type | Field and Description |
---|---|
static String |
USER_CLEAR_CACHE_EVENTS |
static String |
USER_INVALIDATION_EVENTS |
protected UserCacheManager |
userCache |
Constructor and Description |
---|
InfinispanUserCacheProviderFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
UserCache |
create(KeycloakSession session) |
String |
getId() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public static final String USER_CLEAR_CACHE_EVENTS
public static final String USER_INVALIDATION_EVENTS
protected volatile UserCacheManager userCache
public UserCache create(KeycloakSession session)
create
in interface ProviderFactory<UserCache>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<UserCache>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<UserCache>
public void close()
ProviderFactory
close
in interface ProviderFactory<UserCache>
public String getId()
getId
in interface ProviderFactory<UserCache>
Copyright © 2020 JBoss by Red Hat. All rights reserved.