Package org.keycloak.models.utils
Class ComponentUtil
java.lang.Object
org.keycloak.models.utils.ComponentUtil
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,
ProviderConfigProperty> getComponentConfigProperties
(KeycloakSession session, String providerType, String providerId) static Map<String,
ProviderConfigProperty> getComponentConfigProperties
(KeycloakSession session, ComponentModel component) static Map<String,
ProviderConfigProperty> getComponentConfigProperties
(KeycloakSession session, ComponentRepresentation component) static ComponentFactory
getComponentFactory
(KeycloakSession session, ComponentModel component) static ComponentFactory
getComponentFactory
(KeycloakSession session, ComponentRepresentation component) static void
notifyCreated
(KeycloakSession session, RealmModel realm, ComponentModel model) static void
notifyPreRemove
(KeycloakSession session, RealmModel realm, ComponentModel model) static void
notifyUpdated
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)
-
Constructor Details
-
ComponentUtil
public ComponentUtil()
-
-
Method Details
-
getComponentConfigProperties
public static Map<String,ProviderConfigProperty> getComponentConfigProperties(KeycloakSession session, ComponentRepresentation component) -
getComponentConfigProperties
public static Map<String,ProviderConfigProperty> getComponentConfigProperties(KeycloakSession session, ComponentModel component) -
getComponentFactory
public static ComponentFactory getComponentFactory(KeycloakSession session, ComponentRepresentation component) -
getComponentFactory
public static ComponentFactory getComponentFactory(KeycloakSession session, ComponentModel component) -
getComponentConfigProperties
public static Map<String,ProviderConfigProperty> getComponentConfigProperties(KeycloakSession session, String providerType, String providerId) -
notifyCreated
-
notifyUpdated
public static void notifyUpdated(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) -
notifyPreRemove
-