Class MapRootAuthenticationSessionProviderFactory
- java.lang.Object
-
- org.keycloak.models.map.common.AbstractMapProviderFactory<MapRootAuthenticationSessionProvider,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
-
- org.keycloak.models.map.authSession.MapRootAuthenticationSessionProviderFactory
-
- All Implemented Interfaces:
AmphibianProviderFactory<MapRootAuthenticationSessionProvider>,ComponentFactory<MapRootAuthenticationSessionProvider,MapRootAuthenticationSessionProvider>,ConfiguredProvider,EnvironmentDependentProviderFactory,ProviderFactory<MapRootAuthenticationSessionProvider>,AuthenticationSessionProviderFactory<MapRootAuthenticationSessionProvider>
public class MapRootAuthenticationSessionProviderFactory extends AbstractMapProviderFactory<MapRootAuthenticationSessionProvider,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel> implements AuthenticationSessionProviderFactory<MapRootAuthenticationSessionProvider>
- Author:
- Martin Kanis
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.keycloak.models.map.common.AbstractMapProviderFactory
AbstractMapProviderFactory.MapProviderObjectType
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTH_SESSIONS_LIMITstatic intDEFAULT_AUTH_SESSIONS_LIMIT-
Fields inherited from class org.keycloak.models.map.common.AbstractMapProviderFactory
CONFIG_STORAGE, LOG, modelType, PROVIDER_ID, uniqueCounter
-
-
Constructor Summary
Constructors Constructor Description MapRootAuthenticationSessionProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapRootAuthenticationSessionProvidercreateNew(KeycloakSession session)Creates new instance of a provider.List<ProviderConfigProperty>getConfigMetadata()Returns the metadata for each configuration property supported by this factory.StringgetHelpText()voidinit(Config.Scope config)Only called once when the factory is first created.-
Methods inherited from class org.keycloak.models.map.common.AbstractMapProviderFactory
create, getId, getProviderFactoryOrComponentFactory, getStorage, 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
getId, order, postInit
-
-
-
-
Field Detail
-
AUTH_SESSIONS_LIMIT
public static final String AUTH_SESSIONS_LIMIT
- See Also:
- Constant Field Values
-
DEFAULT_AUTH_SESSIONS_LIMIT
public static final int DEFAULT_AUTH_SESSIONS_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public 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 interfaceProviderFactory<MapRootAuthenticationSessionProvider>- Overrides:
initin classAbstractMapProviderFactory<MapRootAuthenticationSessionProvider,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
-
getConfigMetadata
public List<ProviderConfigProperty> getConfigMetadata()
Description copied from interface:ProviderFactoryReturns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadatain interfaceProviderFactory<MapRootAuthenticationSessionProvider>- Returns:
- a list with the metadata for each configuration property supported by this factory
-
createNew
public MapRootAuthenticationSessionProvider createNew(KeycloakSession session)
Description copied from class:AbstractMapProviderFactoryCreates new instance of a provider.- Specified by:
createNewin classAbstractMapProviderFactory<MapRootAuthenticationSessionProvider,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>- Returns:
- See description.
-
getHelpText
public String getHelpText()
- Specified by:
getHelpTextin interfaceConfiguredProvider
-
-