public class SSSDFederationProviderFactory extends Object implements UserStorageProviderFactory<SSSDFederationProvider>, EnvironmentDependentProviderFactory
| Constructor and Description |
|---|
SSSDFederationProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
SSSDFederationProvider |
create(KeycloakSession session,
ComponentModel model)
called per Keycloak transaction.
|
protected PAMAuthenticator |
createPAMAuthenticator(String username,
String... factors) |
String |
getId()
This is the name of the provider and will be showed in the admin console as an option.
|
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isSupported() |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommonProviderConfigProperties, getConfigProperties, getHelpText, getTypeMetadata, onCreate, validateConfigurationcreate, onUpdate, preRemoveorderpublic String getId()
UserStorageProviderFactorygetId in interface ProviderFactory<UserStorageProvider>getId in interface UserStorageProviderFactory<SSSDFederationProvider>public SSSDFederationProvider create(KeycloakSession session, ComponentModel model)
UserStorageProviderFactorycreate in interface ComponentFactory<SSSDFederationProvider,UserStorageProvider>create in interface UserStorageProviderFactory<SSSDFederationProvider>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<UserStorageProvider>init in interface UserStorageProviderFactory<SSSDFederationProvider>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<UserStorageProvider>postInit in interface UserStorageProviderFactory<SSSDFederationProvider>public void close()
ProviderFactoryclose in interface ProviderFactory<UserStorageProvider>close in interface UserStorageProviderFactory<SSSDFederationProvider>protected PAMAuthenticator createPAMAuthenticator(String username, String... factors)
public boolean isSupported()
isSupported in interface EnvironmentDependentProviderFactorytrue if the provider is supported and should be available, false otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.