Package org.keycloak.crypto
Interface ContentEncryptionProviderFactory
- All Superinterfaces:
ProviderFactory<ContentEncryptionProvider>
- All Known Implementing Classes:
Aes128CbcHmacSha256ContentEncryptionProviderFactory
,Aes128GcmContentEncryptionProviderFactory
,Aes192CbcHmacSha384ContentEncryptionProviderFactory
,Aes192GcmContentEncryptionProviderFactory
,Aes256CbcHmacSha512ContentEncryptionProviderFactory
,Aes256GcmContentEncryptionProviderFactory
public interface ContentEncryptionProviderFactory
extends ProviderFactory<ContentEncryptionProvider>
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
This is called when the server shuts down.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.provider.ProviderFactory
create, getConfigMetadata, getId, order
-
Method Details
-
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<ContentEncryptionProvider>
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<ContentEncryptionProvider>
-
close
default void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProviderFactory<ContentEncryptionProvider>
-