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
Constructors Constructor Description MapUserSessionProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapUserSessionProvider
createNew(KeycloakSession session)
Creates new instance of a provider.String
getHelpText()
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
-
-
-
-
Method Detail
-
createNew
public MapUserSessionProvider createNew(KeycloakSession session)
Description copied from class:AbstractMapProviderFactory
Creates new instance of a provider.- Specified by:
createNew
in classAbstractMapProviderFactory<MapUserSessionProvider,MapUserSessionEntity,UserSessionModel>
- Returns:
- See description.
-
getHelpText
public String 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>
-
-