Modifier and Type | Class and Description |
---|---|
class |
JsonConfigComponentModel
Component model backed by JSON configuration.
|
class |
PrioritizedComponentModel |
Modifier and Type | Field and Description |
---|---|
static Comparator<ComponentModel> |
PrioritizedComponentModel.comparator |
Modifier and Type | Method and Description |
---|---|
CreatedType |
ComponentFactory.create(KeycloakSession session,
ComponentModel model) |
default List<ProviderConfigProperty> |
SubComponentFactory.getConfigProperties(RealmModel realm,
ComponentModel parent) |
default Map<String,Object> |
SubComponentFactory.getTypeMetadata(RealmModel realm,
ComponentModel parent)
This is metadata about this component type.
|
default void |
ComponentFactory.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called after a component is created
|
default void |
ComponentFactory.onUpdate(KeycloakSession session,
RealmModel realm,
ComponentModel oldModel,
ComponentModel newModel)
Called after the component is updated.
|
static int |
PrioritizedComponentModel.parsePriority(ComponentModel component) |
default void |
ComponentFactory.preRemove(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called before the component is removed.
|
default void |
ComponentFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called before a component is created or updated.
|
Constructor and Description |
---|
ComponentModel(ComponentModel copy) |
PrioritizedComponentModel(ComponentModel copy) |
Modifier and Type | Method and Description |
---|---|
ComponentModel |
RealmModel.addComponentModel(ComponentModel model)
Adds component model.
|
ComponentModel |
RealmModel.getComponent(String id) |
ComponentModel |
RealmModel.importComponentModel(ComponentModel model)
Adds component model.
|
Modifier and Type | Method and Description |
---|---|
default List<ComponentModel> |
RealmModel.getComponents()
Deprecated.
Use
getComponentsStream instead. |
default List<ComponentModel> |
RealmModel.getComponents(String parentId)
Deprecated.
Use
getComponentsStream instead. |
default List<ComponentModel> |
RealmModel.getComponents(String parentId,
String providerType)
Deprecated.
Use
getComponentsStream instead. |
Stream<ComponentModel> |
RealmModel.getComponentsStream()
Returns stream of component models.
|
Stream<ComponentModel> |
RealmModel.getComponentsStream(String parentId)
Returns stream of ComponentModels for specific parentId.
|
Stream<ComponentModel> |
RealmModel.getComponentsStream(String parentId,
String providerType)
Returns stream of ComponentModels for specific parentId and providerType.
|
default Stream<ComponentModel> |
RealmModel.getStorageProviders(Class<? extends Provider> storageProviderClass)
Returns stream of ComponentModels that represent StorageProviders for class storageProviderClass in this realm.
|
Modifier and Type | Method and Description |
---|---|
ComponentModel |
RealmModel.addComponentModel(ComponentModel model)
Adds component model.
|
<T extends Provider> |
KeycloakSession.getProvider(Class<T> clazz,
ComponentModel componentModel)
Deprecated.
Deprecated in favor of {@link #getComponentProvider)
|
ComponentModel |
RealmModel.importComponentModel(ComponentModel model)
Adds component model.
|
void |
UserProvider.preRemove(RealmModel realm,
ComponentModel component)
Called when a component is removed.
|
void |
RealmModel.removeComponent(ComponentModel component)
Removes given component.
|
void |
RealmModel.updateComponent(ComponentModel component)
Updates component model.
|
Modifier and Type | Method and Description |
---|---|
<T extends Provider> |
KeycloakSession.getComponentProvider(Class<T> clazz,
String componentId,
Function<KeycloakSessionFactory,ComponentModel> modelGetter)
Returns a component provider for a component from the realm that is relevant to this session.
|
<T extends Provider> |
KeycloakSessionFactory.getProviderFactory(Class<T> clazz,
String realmId,
String componentId,
Function<KeycloakSessionFactory,ComponentModel> modelGetter) |
Modifier and Type | Class and Description |
---|---|
class |
CacheableStorageProviderModel |
class |
UserStorageProviderModel
Stored configuration of a User Storage provider instance.
|
Modifier and Type | Method and Description |
---|---|
T |
UserStorageProviderFactory.create(KeycloakSession session,
ComponentModel model)
called per Keycloak transaction.
|
static String |
StorageId.keycloakId(ComponentModel model,
String externalId)
generate the id string that should be returned by UserModel.getId()
|
default void |
UserStorageProviderFactory.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called when UserStorageProviderModel is created.
|
default void |
UserStorageProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
Constructor and Description |
---|
CacheableStorageProviderModel(ComponentModel copy) |
UserStorageProviderModel(ComponentModel copy) |
Modifier and Type | Field and Description |
---|---|
protected ComponentModel |
AbstractUserAdapterFederatedStorage.storageProviderModel |
protected ComponentModel |
AbstractUserAdapter.storageProviderModel |
Constructor and Description |
---|
AbstractUserAdapter(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
AbstractUserAdapterFederatedStorage(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
Streams(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
Streams(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
Modifier and Type | Class and Description |
---|---|
class |
ClientStorageProviderModel
Stored configuration of a Client Storage provider instance.
|
Constructor and Description |
---|
ClientStorageProviderModel(ComponentModel copy) |
Modifier and Type | Method and Description |
---|---|
void |
UserFederatedStorageProvider.preRemove(RealmModel realm,
ComponentModel model) |
Modifier and Type | Class and Description |
---|---|
class |
GroupStorageProviderModel
Stored configuration of a Group Storage provider instance.
|
Constructor and Description |
---|
GroupStorageProviderModel(ComponentModel copy) |
Modifier and Type | Class and Description |
---|---|
class |
RoleStorageProviderModel
Stored configuration of a Role Storage provider instance.
|
Constructor and Description |
---|
RoleStorageProviderModel(ComponentModel copy) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.