public abstract class AbstractIdentityProviderFactory<T extends IdentityProvider> extends Object implements IdentityProviderFactory<T>
| Constructor and Description |
|---|
AbstractIdentityProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
T |
create(KeycloakSession session) |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
Map<String,String> |
parseConfig(KeycloakSession session,
InputStream inputStream)
Creates an
IdentityProvider based on the configuration from
inputStream. |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createConfig, getNamegetId, orderpublic void close()
ProviderFactoryclose in interface ProviderFactory<T extends IdentityProvider>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<T extends IdentityProvider>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<T extends IdentityProvider>public T create(KeycloakSession session)
create in interface ProviderFactory<T extends IdentityProvider>public Map<String,String> parseConfig(KeycloakSession session, InputStream inputStream)
IdentityProviderFactoryCreates an IdentityProvider based on the configuration from
inputStream.
parseConfig in interface IdentityProviderFactory<T extends IdentityProvider>inputStream - The input stream from where configuration will be loaded from..Copyright © 2021 JBoss by Red Hat. All rights reserved.