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
Constructors Constructor Description AbstractConfigPropertySynchronizer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract String
getConfigPropertyName()
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
-
-
-
-
Method Detail
-
getConfigPropertyName
protected abstract String getConfigPropertyName()
-
updateConfigPropertyIfNecessary
protected abstract void updateConfigPropertyIfNecessary(T event, String currentPropertyValue, Consumer<String> propertyUpdater)
-
handleEvent
public final void handleEvent(T event, IdentityProviderMapperModel idpMapper)
- Specified by:
handleEvent
in interfaceConfigSynchronizer<T extends ProviderEvent>
-
-