Package org.keycloak.federation.sssd
Class SSSDFederationProviderFactory
- java.lang.Object
- 
- org.keycloak.federation.sssd.SSSDFederationProviderFactory
 
- 
- All Implemented Interfaces:
- ComponentFactory<SSSDFederationProvider,UserStorageProvider>,- ConfiguredProvider,- EnvironmentDependentProviderFactory,- ProviderFactory<UserStorageProvider>,- UserStorageProviderFactory<SSSDFederationProvider>
 
 public class SSSDFederationProviderFactory extends Object implements UserStorageProviderFactory<SSSDFederationProvider>, EnvironmentDependentProviderFactory - Version:
- $Revision: 1 $
- Author:
- Bruno Oliveira
 
- 
- 
Constructor SummaryConstructors Constructor Description SSSDFederationProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.SSSDFederationProvidercreate(KeycloakSession session, ComponentModel model)called per Keycloak transaction.protected PAMAuthenticatorcreatePAMAuthenticator(String username, String... factors)StringgetId()This is the name of the provider and will be showed in the admin console as an option.voidinit(Config.Scope config)Only called once when the factory is first created.booleanisSupported()voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.component.ComponentFactorycreate, onUpdate, preRemove
 - 
Methods inherited from interface org.keycloak.provider.ConfiguredProvidergetConfig
 - 
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactoryisSupported
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 - 
Methods inherited from interface org.keycloak.storage.UserStorageProviderFactorygetCommonProviderConfigProperties, getConfigProperties, getHelpText, getTypeMetadata, onCreate, validateConfiguration
 
- 
 
- 
- 
- 
Method Detail- 
getIdpublic String getId() Description copied from interface:UserStorageProviderFactoryThis is the name of the provider and will be showed in the admin console as an option.- Specified by:
- getIdin interface- ProviderFactory<UserStorageProvider>
- Specified by:
- getIdin interface- UserStorageProviderFactory<SSSDFederationProvider>
 
 - 
createpublic SSSDFederationProvider create(KeycloakSession session, ComponentModel model) Description copied from interface:UserStorageProviderFactorycalled per Keycloak transaction.- Specified by:
- createin interface- ComponentFactory<SSSDFederationProvider,UserStorageProvider>
- Specified by:
- createin interface- UserStorageProviderFactory<SSSDFederationProvider>
 
 - 
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<UserStorageProvider>
- Specified by:
- initin interface- UserStorageProviderFactory<SSSDFederationProvider>
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<UserStorageProvider>
- Specified by:
- postInitin interface- UserStorageProviderFactory<SSSDFederationProvider>
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<UserStorageProvider>
- Specified by:
- closein interface- UserStorageProviderFactory<SSSDFederationProvider>
 
 - 
createPAMAuthenticatorprotected PAMAuthenticator createPAMAuthenticator(String username, String... factors) 
 - 
isSupportedpublic boolean isSupported() - Specified by:
- isSupportedin interface- EnvironmentDependentProviderFactory
- Returns:
- trueif the provider is supported and should be available,- falseotherwise
 
 
- 
 
-