Class AbstractConfigPropertySynchronizer<T extends ProviderEvent>
java.lang.Object
org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer<T>
- All Implemented Interfaces:
ConfigSynchronizer<T>
- Direct Known Subclasses:
GroupConfigPropertyByPathSynchronizer
,RoleConfigPropertyByClientIdSynchronizer
,RoleConfigPropertyByRoleNameSynchronizer
public abstract class AbstractConfigPropertySynchronizer<T extends ProviderEvent>
extends Object
implements ConfigSynchronizer<T>
Abstract base class for updating a single reference (specified via a single config property).
- Author:
- Daniel Fesenmeyer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
final void
handleEvent
(T event, IdentityProviderMapperModel idpMapper) protected abstract void
updateConfigPropertyIfNecessary
(T event, String currentPropertyValue, Consumer<String> propertyUpdater) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.broker.provider.mappersync.ConfigSynchronizer
extractRealm, getEventClass
-
Constructor Details
-
AbstractConfigPropertySynchronizer
public AbstractConfigPropertySynchronizer()
-
-
Method Details
-
getConfigPropertyName
-
updateConfigPropertyIfNecessary
-
handleEvent
- Specified by:
handleEvent
in interfaceConfigSynchronizer<T extends ProviderEvent>
-