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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This is called when the server shuts down.create
(KeycloakSession session) Returns the metadata for each configuration property supported by this factory.getId()
void
init
(Config.Scope config) Only called once when the factory is first created.int
order()
void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initializedprotected void
registerClusterListeners
(KeycloakSession session)
-
Field Details
-
PROVIDER_PRIORITY
public static final int PROVIDER_PRIORITY- See Also:
-
PROVIDER_ID
- See Also:
-
AUTH_SESSIONS_LIMIT
- See Also:
-
DEFAULT_AUTH_SESSIONS_LIMIT
public static final int DEFAULT_AUTH_SESSIONS_LIMIT- See Also:
-
AUTHENTICATION_SESSION_EVENTS
- See Also:
-
REALM_REMOVED_AUTHSESSION_EVENT
- See Also:
-
-
Constructor Details
-
InfinispanAuthenticationSessionProviderFactory
public InfinispanAuthenticationSessionProviderFactory()
-
-
Method Details
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory
-
getConfigMetadata
Description copied from interface:ProviderFactory
Returns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadata
in interfaceProviderFactory
- Returns:
- a list with the metadata for each configuration property supported by this factory
-
registerClusterListeners
-
create
- Specified by:
create
in interfaceProviderFactory
-
close
public void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProviderFactory
-
getId
- Specified by:
getId
in interfaceProviderFactory
-
order
public int order()- Specified by:
order
in interfaceProviderFactory
-