Package org.keycloak.provider
Interface ExceptionConverter
- All Superinterfaces:
Provider
,ProviderFactory<ExceptionConverter>
- All Known Implementing Classes:
JpaExceptionConverter
Use to unwrap exceptions specifically if there is an exception at JTA commit
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
This is called when the server shuts down.Return null if the provider doesn't handle this typedefault ExceptionConverter
create
(KeycloakSession session) 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
dependsOn, getConfigMetadata, getId, order
-
Method Details
-
convert
Return null if the provider doesn't handle this type- Parameters:
t
-- Returns:
-
create
- Specified by:
create
in interfaceProviderFactory<ExceptionConverter>
-
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<ExceptionConverter>
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<ExceptionConverter>
-
close
default void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProvider
- Specified by:
close
in interfaceProviderFactory<ExceptionConverter>
-