Class LdapServerCapabilitiesRealmAdminProvider
java.lang.Object
org.keycloak.services.resources.admin.LdapServerCapabilitiesRealmAdminProvider
- All Implemented Interfaces:
Provider
,ProviderFactory<AdminRealmResourceProvider>
,AdminRealmResourceProvider
,AdminRealmResourceProviderFactory
public class LdapServerCapabilitiesRealmAdminProvider
extends Object
implements AdminRealmResourceProviderFactory, AdminRealmResourceProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This is called when the server shuts down.create
(KeycloakSession session) getId()
getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) Returns a JAX-RS resource instance.void
init
(Config.Scope config) Only called once when the factory is first created.void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Constructor Details
-
LdapServerCapabilitiesRealmAdminProvider
public LdapServerCapabilitiesRealmAdminProvider()
-
-
Method Details
-
create
- Specified by:
create
in interfaceProviderFactory<AdminRealmResourceProvider>
-
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<AdminRealmResourceProvider>
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<AdminRealmResourceProvider>
-
close
public 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<AdminRealmResourceProvider>
-
getId
- Specified by:
getId
in interfaceProviderFactory<AdminRealmResourceProvider>
-
getResource
public Object getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) Description copied from interface:AdminRealmResourceProvider
Returns a JAX-RS resource instance.
- Specified by:
getResource
in interfaceAdminRealmResourceProvider
- Returns:
- a JAX-RS sub-resource instance
-