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, wait
getCommonProviderConfigProperties, getConfigProperties, getHelpText, getTypeMetadata, onCreate, validateConfiguration
create, onUpdate, preRemove
order
public String getId()
UserStorageProviderFactory
getId
in interface ProviderFactory<UserStorageProvider>
getId
in interface UserStorageProviderFactory<SSSDFederationProvider>
public SSSDFederationProvider create(KeycloakSession session, ComponentModel model)
UserStorageProviderFactory
create
in interface ComponentFactory<SSSDFederationProvider,UserStorageProvider>
create
in interface UserStorageProviderFactory<SSSDFederationProvider>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<UserStorageProvider>
init
in interface UserStorageProviderFactory<SSSDFederationProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<UserStorageProvider>
postInit
in interface UserStorageProviderFactory<SSSDFederationProvider>
public void close()
ProviderFactory
close
in interface ProviderFactory<UserStorageProvider>
close
in interface UserStorageProviderFactory<SSSDFederationProvider>
protected PAMAuthenticator createPAMAuthenticator(String username, String... factors)
public boolean isSupported()
isSupported
in interface EnvironmentDependentProviderFactory
true
if the provider is supported and should be available, false
otherwiseCopyright © 2020 JBoss by Red Hat. All rights reserved.