Class GroupConfigPropertyByPathSynchronizer
- java.lang.Object
-
- org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent>
-
- org.keycloak.broker.provider.mappersync.GroupConfigPropertyByPathSynchronizer
-
- All Implemented Interfaces:
ConfigSynchronizer<GroupModel.GroupPathChangeEvent>
public class GroupConfigPropertyByPathSynchronizer extends AbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent>
Updates a group reference in a mapper config, when the path of a group changes.- Author:
- Daniel Fesenmeyer
-
-
Field Summary
Fields Modifier and Type Field Description static GroupConfigPropertyByPathSynchronizer
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealmModel
extractRealm(GroupModel.GroupPathChangeEvent event)
String
getConfigPropertyName()
Class<GroupModel.GroupPathChangeEvent>
getEventClass()
protected void
updateConfigPropertyIfNecessary(GroupModel.GroupPathChangeEvent event, String currentPropertyValue, Consumer<String> propertyUpdater)
-
Methods inherited from class org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer
handleEvent
-
-
-
-
Field Detail
-
INSTANCE
public static final GroupConfigPropertyByPathSynchronizer INSTANCE
-
-
Method Detail
-
getEventClass
public Class<GroupModel.GroupPathChangeEvent> getEventClass()
-
extractRealm
public RealmModel extractRealm(GroupModel.GroupPathChangeEvent event)
-
getConfigPropertyName
public String getConfigPropertyName()
- Specified by:
getConfigPropertyName
in classAbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent>
-
updateConfigPropertyIfNecessary
protected void updateConfigPropertyIfNecessary(GroupModel.GroupPathChangeEvent event, String currentPropertyValue, Consumer<String> propertyUpdater)
- Specified by:
updateConfigPropertyIfNecessary
in classAbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent>
-
-