Class InfinispanAuthenticationSessionProviderFactory
java.lang.Object
org.keycloak.models.sessions.infinispan.InfinispanAuthenticationSessionProviderFactory
- All Implemented Interfaces:
org.keycloak.provider.EnvironmentDependentProviderFactory,org.keycloak.provider.ProviderEventListener,org.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>,org.keycloak.sessions.AuthenticationSessionProviderFactory<InfinispanAuthenticationSessionProvider>
public class InfinispanAuthenticationSessionProviderFactory
extends Object
implements org.keycloak.sessions.AuthenticationSessionProviderFactory<InfinispanAuthenticationSessionProvider>, org.keycloak.provider.EnvironmentDependentProviderFactory, org.keycloak.provider.ProviderEventListener
- Author:
- Marek Posolda
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()create(org.keycloak.models.KeycloakSession session) static intgetAuthSessionsLimit(org.keycloak.Config.Scope config) List<org.keycloak.provider.ProviderConfigProperty>getId()voidinit(org.keycloak.Config.Scope config) booleanisSupported(org.keycloak.Config.Scope config) voidonEvent(org.keycloak.provider.ProviderEvent event) intorder()voidpostInit(org.keycloak.models.KeycloakSessionFactory factory) protected voidregisterClusterListeners(org.keycloak.models.KeycloakSession session)
-
Field Details
-
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
public void init(org.keycloak.Config.Scope config) - Specified by:
initin interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
getAuthSessionsLimit
public static int getAuthSessionsLimit(org.keycloak.Config.Scope config) -
postInit
public void postInit(org.keycloak.models.KeycloakSessionFactory factory) - Specified by:
postInitin interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
getConfigMetadata
- Specified by:
getConfigMetadatain interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
onEvent
public void onEvent(org.keycloak.provider.ProviderEvent event) - Specified by:
onEventin interfaceorg.keycloak.provider.ProviderEventListener
-
registerClusterListeners
protected void registerClusterListeners(org.keycloak.models.KeycloakSession session) -
create
- Specified by:
createin interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
dependsOn
- Specified by:
dependsOnin interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
close
public void close()- Specified by:
closein interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
getId
- Specified by:
getIdin interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
order
public int order()- Specified by:
orderin interfaceorg.keycloak.provider.ProviderFactory<InfinispanAuthenticationSessionProvider>
-
isSupported
public boolean isSupported(org.keycloak.Config.Scope config) - Specified by:
isSupportedin interfaceorg.keycloak.provider.EnvironmentDependentProviderFactory
-