Class RoleConfigPropertyByRoleNameSynchronizer
java.lang.Object
org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer<RoleModel.RoleNameChangeEvent>
org.keycloak.broker.provider.mappersync.RoleConfigPropertyByRoleNameSynchronizer
- All Implemented Interfaces:
ConfigSynchronizer<RoleModel.RoleNameChangeEvent>
public class RoleConfigPropertyByRoleNameSynchronizer
extends AbstractConfigPropertySynchronizer<RoleModel.RoleNameChangeEvent>
Updates a role reference a in mapper config, when a role name changes.
- Author:
- Daniel Fesenmeyer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
updateConfigPropertyIfNecessary
(RoleModel.RoleNameChangeEvent event, String currentPropertyValue, Consumer<String> propertyUpdater) Methods inherited from class org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer
handleEvent
-
Field Details
-
INSTANCE
-
-
Method Details
-
getEventClass
-
extractRealm
-
getConfigPropertyName
- Specified by:
getConfigPropertyName
in classAbstractConfigPropertySynchronizer<RoleModel.RoleNameChangeEvent>
-
updateConfigPropertyIfNecessary
protected void updateConfigPropertyIfNecessary(RoleModel.RoleNameChangeEvent event, String currentPropertyValue, Consumer<String> propertyUpdater) - Specified by:
updateConfigPropertyIfNecessary
in classAbstractConfigPropertySynchronizer<RoleModel.RoleNameChangeEvent>
-