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.AbstractMapProviderFactoryAbstractMapProviderFactory.MapProviderObjectType
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringAUTH_SESSIONS_LIMITstatic intDEFAULT_AUTH_SESSIONS_LIMIT- 
Fields inherited from class org.keycloak.models.map.common.AbstractMapProviderFactoryCONFIG_STORAGE, LOG, modelType, PROVIDER_ID, uniqueCounter
 
- 
 - 
Constructor SummaryConstructors Constructor Description MapRootAuthenticationSessionProviderFactory()
 - 
Method SummaryAll 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.AbstractMapProviderFactorycreate, getId, getMapStorage, getProviderFactoryOrComponentFactory, isSupported, postInit
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.component.AmphibianProviderFactoryclose, create, getConfigProperties, onUpdate, preRemove
 - 
Methods inherited from interface org.keycloak.component.ComponentFactorygetCommonProviderConfigProperties, getTypeMetadata, onCreate, validateConfiguration
 - 
Methods inherited from interface org.keycloak.provider.ConfiguredProvidergetConfig
 - 
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactoryisSupported
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetId, order, postInit
 
- 
 
- 
- 
- 
Field Detail- 
AUTH_SESSIONS_LIMITpublic static final String AUTH_SESSIONS_LIMIT - See Also:
- Constant Field Values
 
 - 
DEFAULT_AUTH_SESSIONS_LIMITpublic static final int DEFAULT_AUTH_SESSIONS_LIMIT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initpublic 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 interface- ProviderFactory<MapRootAuthenticationSessionProvider>
- Overrides:
- initin class- AbstractMapProviderFactory<MapRootAuthenticationSessionProvider,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
 
 - 
getConfigMetadatapublic List<ProviderConfigProperty> getConfigMetadata() Description copied from interface:ProviderFactoryReturns the metadata for each configuration property supported by this factory.- Specified by:
- getConfigMetadatain interface- ProviderFactory<MapRootAuthenticationSessionProvider>
- Returns:
- a list with the metadata for each configuration property supported by this factory
 
 - 
createNewpublic MapRootAuthenticationSessionProvider createNew(KeycloakSession session) Description copied from class:AbstractMapProviderFactoryCreates new instance of a provider.- Specified by:
- createNewin class- AbstractMapProviderFactory<MapRootAuthenticationSessionProvider,MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel>
- Returns:
- See description.
 
 - 
getHelpTextpublic String getHelpText() - Specified by:
- getHelpTextin interface- ConfiguredProvider
 
 
- 
 
-