Class InfinispanAuthenticationSessionProviderFactory
- java.lang.Object
- 
- org.keycloak.models.sessions.infinispan.InfinispanAuthenticationSessionProviderFactory
 
- 
- All Implemented Interfaces:
- ProviderFactory,- AuthenticationSessionProviderFactory
 
 public class InfinispanAuthenticationSessionProviderFactory extends Object implements AuthenticationSessionProviderFactory - Author:
- Marek Posolda
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringAUTH_SESSIONS_LIMITstatic StringAUTHENTICATION_SESSION_EVENTSstatic StringCLIENT_REMOVED_AUTHSESSION_EVENTstatic intDEFAULT_AUTH_SESSIONS_LIMITstatic StringPROVIDER_IDstatic intPROVIDER_PRIORITYstatic StringREALM_REMOVED_AUTHSESSION_EVENT
 - 
Constructor SummaryConstructors Constructor Description InfinispanAuthenticationSessionProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.AuthenticationSessionProvidercreate(KeycloakSession session)List<ProviderConfigProperty>getConfigMetadata()Returns the metadata for each configuration property supported by this factory.StringgetId()voidinit(Config.Scope config)Only called once when the factory is first created.intorder()voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initializedprotected voidregisterClusterListeners(KeycloakSession session)
 
- 
- 
- 
Field Detail- 
PROVIDER_PRIORITYpublic static final int PROVIDER_PRIORITY - See Also:
- Constant Field Values
 
 - 
PROVIDER_IDpublic static final String PROVIDER_ID - See Also:
- Constant Field Values
 
 - 
AUTH_SESSIONS_LIMITpublic static final String AUTH_SESSIONS_LIMIT - See Also:
- Constant Field Values
 
 - 
DEFAULT_AUTH_SESSIONS_LIMITpublic static final int DEFAULT_AUTH_SESSIONS_LIMIT - See Also:
- Constant Field Values
 
 - 
AUTHENTICATION_SESSION_EVENTSpublic static final String AUTHENTICATION_SESSION_EVENTS - See Also:
- Constant Field Values
 
 - 
REALM_REMOVED_AUTHSESSION_EVENTpublic static final String REALM_REMOVED_AUTHSESSION_EVENT - See Also:
- Constant Field Values
 
 - 
CLIENT_REMOVED_AUTHSESSION_EVENTpublic static final String CLIENT_REMOVED_AUTHSESSION_EVENT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory
 
 - 
getConfigMetadatapublic List<ProviderConfigProperty> getConfigMetadata() Description copied from interface:ProviderFactoryReturns the metadata for each configuration property supported by this factory.- Specified by:
- getConfigMetadatain interface- ProviderFactory
- Returns:
- a list with the metadata for each configuration property supported by this factory
 
 - 
registerClusterListenersprotected void registerClusterListeners(KeycloakSession session) 
 - 
createpublic AuthenticationSessionProvider create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory
 
 - 
orderpublic int order() - Specified by:
- orderin interface- ProviderFactory
 
 
- 
 
-