Package org.keycloak.social.openshift
Class OpenshiftV4IdentityProviderFactory
java.lang.Object
org.keycloak.broker.provider.AbstractIdentityProviderFactory<OpenshiftV4IdentityProvider>
org.keycloak.social.openshift.OpenshiftV4IdentityProviderFactory
- All Implemented Interfaces:
IdentityProviderFactory<OpenshiftV4IdentityProvider>
,SocialIdentityProviderFactory<OpenshiftV4IdentityProvider>
,ConfiguredProvider
,ProviderFactory<OpenshiftV4IdentityProvider>
public class OpenshiftV4IdentityProviderFactory
extends AbstractIdentityProviderFactory<OpenshiftV4IdentityProvider>
implements SocialIdentityProviderFactory<OpenshiftV4IdentityProvider>
OpenShift 4 Identity Provider factory class.
- Author:
- David Festal and Sebastian Ćaskawiec
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel) Creates anIdentityProvider
based on the configuration contained inmodel
.Creates a provider specificIdentityProviderModel
instance.getId()
getName()
A friendly name for this factory.Methods inherited from class org.keycloak.broker.provider.AbstractIdentityProviderFactory
close, create, init, parseConfig, postInit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
Methods inherited from interface org.keycloak.broker.provider.IdentityProviderFactory
getHelpText, parseConfig
Methods inherited from interface org.keycloak.provider.ProviderFactory
close, create, getConfigMetadata, init, order, postInit
-
Field Details
-
PROVIDER_ID
- See Also:
-
NAME
- See Also:
-
-
Constructor Details
-
OpenshiftV4IdentityProviderFactory
public OpenshiftV4IdentityProviderFactory()
-
-
Method Details
-
getName
Description copied from interface:IdentityProviderFactory
A friendly name for this factory.
- Specified by:
getName
in interfaceIdentityProviderFactory<OpenshiftV4IdentityProvider>
- Returns:
-
create
public OpenshiftV4IdentityProvider create(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel) Description copied from interface:IdentityProviderFactory
Creates an
IdentityProvider
based on the configuration contained inmodel
.- Specified by:
create
in interfaceIdentityProviderFactory<OpenshiftV4IdentityProvider>
identityProviderModel
- The configuration to be used to create the identity provider.- Returns:
-
getId
- Specified by:
getId
in interfaceProviderFactory<OpenshiftV4IdentityProvider>
-
createConfig
Description copied from interface: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- Specified by:
createConfig
in interfaceIdentityProviderFactory<OpenshiftV4IdentityProvider>
- Returns:
- the provider specific instance
-
getConfigProperties
- Specified by:
getConfigProperties
in interfaceConfiguredProvider
- Specified by:
getConfigProperties
in interfaceIdentityProviderFactory<OpenshiftV4IdentityProvider>
-