public class SAMLIdentityProviderFactory extends AbstractIdentityProviderFactory<SAMLIdentityProvider>
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
Constructor and Description |
---|
SAMLIdentityProviderFactory() |
Modifier and Type | Method and Description |
---|---|
SAMLIdentityProvider |
create(KeycloakSession session,
IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model . |
SAMLIdentityProviderConfig |
createConfig()
Creates a provider specific
IdentityProviderModel instance. |
String |
getId() |
String |
getName()
A friendly name for this factory.
|
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 . |
close, create, postInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public static final String PROVIDER_ID
public String getName()
IdentityProviderFactory
A friendly name for this factory.
public SAMLIdentityProvider create(KeycloakSession session, IdentityProviderModel model)
IdentityProviderFactory
Creates an IdentityProvider
based on the configuration contained in
model
.
model
- The configuration to be used to create the identity provider.public SAMLIdentityProviderConfig createConfig()
IdentityProviderFactory
Creates a provider specific IdentityProviderModel
instance.
Providers may want to implement their own IdentityProviderModel
type so that validations
can be performed when managing the provider configuration
public Map<String,String> parseConfig(KeycloakSession session, InputStream inputStream)
IdentityProviderFactory
Creates an IdentityProvider
based on the configuration from
inputStream
.
parseConfig
in interface IdentityProviderFactory<SAMLIdentityProvider>
parseConfig
in class AbstractIdentityProviderFactory<SAMLIdentityProvider>
inputStream
- The input stream from where configuration will be loaded from..public String getId()
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<SAMLIdentityProvider>
init
in class AbstractIdentityProviderFactory<SAMLIdentityProvider>
Copyright © 2021 JBoss by Red Hat. All rights reserved.