Package org.keycloak.broker.provider
Class AbstractIdentityProviderFactory<T extends IdentityProvider>
- java.lang.Object
-
- org.keycloak.broker.provider.AbstractIdentityProviderFactory<T>
-
- All Implemented Interfaces:
IdentityProviderFactory<T>
,ProviderFactory<T>
public abstract class AbstractIdentityProviderFactory<T extends IdentityProvider> extends Object implements IdentityProviderFactory<T>
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description AbstractIdentityProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
T
create(KeycloakSession session)
void
init(Config.Scope config)
Map<String,String>
parseConfig(KeycloakSession session, InputStream inputStream)
Creates anIdentityProvider
based on the configuration frominputStream
.void
postInit(KeycloakSessionFactory factory)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.broker.provider.IdentityProviderFactory
create, createConfig, getName
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, getId, order
-
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceProviderFactory<T extends IdentityProvider>
-
init
public void init(Config.Scope config)
- Specified by:
init
in interfaceProviderFactory<T extends IdentityProvider>
-
postInit
public void postInit(KeycloakSessionFactory factory)
- Specified by:
postInit
in interfaceProviderFactory<T extends IdentityProvider>
-
create
public T create(KeycloakSession session)
- Specified by:
create
in interfaceProviderFactory<T extends IdentityProvider>
-
parseConfig
public Map<String,String> parseConfig(KeycloakSession session, InputStream inputStream)
Description copied from interface:IdentityProviderFactory
Creates an
IdentityProvider
based on the configuration frominputStream
.- Specified by:
parseConfig
in interfaceIdentityProviderFactory<T extends IdentityProvider>
inputStream
- The input stream from where configuration will be loaded from..- Returns:
-
-