Package org.keycloak.models.jpa
Class JpaGroupProviderFactory
java.lang.Object
org.keycloak.models.jpa.JpaGroupProviderFactory
- All Implemented Interfaces:
GroupProviderFactory
,ProviderFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This is called when the server shuts down.create
(KeycloakSession session) boolean
Returns the metadata for each configuration property supported by this factory.getId()
void
init
(Config.Scope config) Only called once when the factory is first created.int
order()
void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initialized
-
Constructor Details
-
JpaGroupProviderFactory
public JpaGroupProviderFactory()
-
-
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
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory
-
getId
- Specified by:
getId
in interfaceProviderFactory
-
create
- Specified by:
create
in interfaceProviderFactory
-
close
public void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProviderFactory
-
order
public int order()- Specified by:
order
in interfaceProviderFactory
-
escapeSlashesInGroupPath
public boolean escapeSlashesInGroupPath()- Specified by:
escapeSlashesInGroupPath
in interfaceGroupProviderFactory
-
getConfigMetadata
Description copied from interface:ProviderFactory
Returns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadata
in interfaceProviderFactory
- Returns:
- a list with the metadata for each configuration property supported by this factory
-