public class InfinispanCacheUserProviderFactory extends Object implements CacheUserProviderFactory
| Modifier and Type | Field and Description |
|---|---|
protected UserCacheManager |
userCache |
| Constructor and Description |
|---|
InfinispanCacheUserProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
CacheUserProvider |
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
|
protected volatile UserCacheManager userCache
public CacheUserProvider create(KeycloakSession session)
create in interface ProviderFactory<CacheUserProvider>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<CacheUserProvider>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<CacheUserProvider>public void close()
ProviderFactoryclose in interface ProviderFactory<CacheUserProvider>public String getId()
getId in interface ProviderFactory<CacheUserProvider>Copyright © 2016 JBoss by Red Hat. All rights reserved.