use of org.keycloak.storage.OnCreateComponent in project keycloak by keycloak.
the class ComponentUtil method notifyCreated.
public static void notifyCreated(KeycloakSession session, RealmModel realm, ComponentModel model) {
ComponentFactory factory = getComponentFactory(session, model);
factory.onCreate(session, realm, model);
if (factory instanceof UserStorageProviderFactory) {
((OnCreateComponent) session.userStorageManager()).onCreate(session, realm, model);
}
}
Aggregations