Class MapUserSessionProviderFactory
java.lang.Object
org.keycloak.models.map.common.AbstractMapProviderFactory<MapUserSessionProvider,MapUserSessionEntity,UserSessionModel>
org.keycloak.models.map.userSession.MapUserSessionProviderFactory
- All Implemented Interfaces:
AmphibianProviderFactory<MapUserSessionProvider>
,ComponentFactory<MapUserSessionProvider,
,MapUserSessionProvider> UserSessionProviderFactory<MapUserSessionProvider>
,ConfiguredProvider
,EnvironmentDependentProviderFactory
,InvalidationHandler
,ProviderFactory<MapUserSessionProvider>
public class MapUserSessionProviderFactory
extends AbstractMapProviderFactory<MapUserSessionProvider,MapUserSessionEntity,UserSessionModel>
implements UserSessionProviderFactory<MapUserSessionProvider>, InvalidationHandler
- Author:
- Martin Kanis
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.models.map.common.AbstractMapProviderFactory
AbstractMapProviderFactory.MapProviderObjectType
Nested classes/interfaces inherited from interface org.keycloak.provider.InvalidationHandler
InvalidationHandler.InvalidableObjectType, InvalidationHandler.ObjectType
-
Field Summary
Fields inherited from class org.keycloak.models.map.common.AbstractMapProviderFactory
CONFIG_STORAGE, LOG, modelType, PROVIDER_ID, uniqueCounter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateNew
(KeycloakSession session) Creates new instance of a provider.void
invalidate
(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params) Invalidates intermediate states of the given objectsvoid
loadPersistentSessions
(KeycloakSessionFactory sessionFactory, int maxErrors, int sessionsPerSegment) Methods inherited from class org.keycloak.models.map.common.AbstractMapProviderFactory
create, getId, getMapStorage, getProviderFactoryOrComponentFactory, init, isSupported, postInit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.component.AmphibianProviderFactory
close, create, getConfigProperties, onUpdate, preRemove
Methods inherited from interface org.keycloak.component.ComponentFactory
getCommonProviderConfigProperties, getTypeMetadata, onCreate, validateConfiguration
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupported
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, getId, init, order, postInit
-
Constructor Details
-
MapUserSessionProviderFactory
public MapUserSessionProviderFactory()
-
-
Method Details
-
createNew
Description copied from class:AbstractMapProviderFactory
Creates new instance of a provider.- Specified by:
createNew
in classAbstractMapProviderFactory<MapUserSessionProvider,
MapUserSessionEntity, UserSessionModel> - Returns:
- See description.
-
getHelpText
- Specified by:
getHelpText
in interfaceConfiguredProvider
-
invalidate
public void invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params) Description copied from interface:InvalidationHandler
Invalidates intermediate states of the given objects- Specified by:
invalidate
in interfaceInvalidationHandler
- Parameters:
session
- KeycloakSessiontype
- Type of the objects to invalidateparams
- Parameters used for the invalidation
-
loadPersistentSessions
public void loadPersistentSessions(KeycloakSessionFactory sessionFactory, int maxErrors, int sessionsPerSegment) - Specified by:
loadPersistentSessions
in interfaceUserSessionProviderFactory<MapUserSessionProvider>
-