Package org.keycloak.keys
Interface KeyProviderFactory<T extends KeyProvider>
- All Superinterfaces:
ComponentFactory<T,
,KeyProvider> ConfiguredProvider
,ProviderFactory<KeyProvider>
- All Known Implementing Classes:
AbstractEcKeyProviderFactory
,AbstractEddsaKeyProviderFactory
,AbstractGeneratedEcKeyProviderFactory
,AbstractGeneratedRsaKeyProviderFactory
,AbstractGeneratedSecretKeyProviderFactory
,AbstractImportedRsaKeyProviderFactory
,AbstractRsaKeyProviderFactory
,GeneratedAesKeyProviderFactory
,GeneratedEcdhKeyProviderFactory
,GeneratedEcdsaKeyProviderFactory
,GeneratedEddsaKeyProviderFactory
,GeneratedHmacKeyProviderFactory
,GeneratedRsaEncKeyProviderFactory
,GeneratedRsaKeyProviderFactory
,ImportedRsaEncKeyProviderFactory
,ImportedRsaKeyProviderFactory
,JavaKeystoreKeyProviderFactory
- Author:
- Stian Thorgersen
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
This is called when the server shuts down.create
(KeycloakSession session, ComponentModel model) default boolean
createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) default void
init
(Config.Scope config) Only called once when the factory is first created.default void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from interface org.keycloak.component.ComponentFactory
create, getCommonProviderConfigProperties, getTypeMetadata, onCreate, onUpdate, preRemove, validateConfiguration
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig, getConfigProperties, getHelpText
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, getId, order
-
Method Details
-
create
- Specified by:
create
in interfaceComponentFactory<T extends KeyProvider,
KeyProvider>
-
createFallbackKeys
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<T extends KeyProvider>
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<T extends KeyProvider>
-
close
default void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProviderFactory<T extends KeyProvider>
-