public class OIDCWellKnownProviderFactory extends Object implements WellKnownProviderFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_ID |
| Constructor and Description |
|---|
OIDCWellKnownProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
WellKnownProvider |
create(KeycloakSession session) |
String |
getId() |
protected Map<String,Object> |
getOpenidConfigOverride() |
int |
getPriority()
Use low priority, so custom implementation with alias "openid-configuration" will win over the default implementation
with alias "openid-configuration", which is provided by Keycloak (OIDCWellKnownProviderFactory).
|
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
protected void |
initConfigOverrideFromFile(String openidConfigurationOverrideFile) |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAliasorderpublic static final String PROVIDER_ID
public WellKnownProvider create(KeycloakSession session)
create in interface ProviderFactory<WellKnownProvider>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<WellKnownProvider>protected void initConfigOverrideFromFile(String openidConfigurationOverrideFile)
public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<WellKnownProvider>public void close()
ProviderFactoryclose in interface ProviderFactory<WellKnownProvider>public String getId()
getId in interface ProviderFactory<WellKnownProvider>public int getPriority()
WellKnownProviderFactorygetPriority in interface WellKnownProviderFactoryCopyright © 2021 JBoss by Red Hat. All rights reserved.