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, wait
create, createConfig, getName
getId, order
public void close()
ProviderFactory
close
in interface ProviderFactory<T extends IdentityProvider>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<T extends IdentityProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
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)
IdentityProviderFactory
Creates 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 © 2020 JBoss by Red Hat. All rights reserved.