Class RoleConfigPropertyByClientIdSynchronizer
java.lang.Object
org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer<ClientModel.ClientIdChangeEvent>
org.keycloak.broker.provider.mappersync.RoleConfigPropertyByClientIdSynchronizer
- All Implemented Interfaces:
ConfigSynchronizer<ClientModel.ClientIdChangeEvent>
public class RoleConfigPropertyByClientIdSynchronizer
extends AbstractConfigPropertySynchronizer<ClientModel.ClientIdChangeEvent>
Updates a role reference in a mapper config, when a client ID changes.
- Author:
- Daniel Fesenmeyer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
updateConfigPropertyIfNecessary
(ClientModel.ClientIdChangeEvent 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<ClientModel.ClientIdChangeEvent>
-
updateConfigPropertyIfNecessary
protected void updateConfigPropertyIfNecessary(ClientModel.ClientIdChangeEvent event, String currentPropertyValue, Consumer<String> propertyUpdater) - Specified by:
updateConfigPropertyIfNecessary
in classAbstractConfigPropertySynchronizer<ClientModel.ClientIdChangeEvent>
-