Class LDAPWritesOnlyUserModelDelegate

java.lang.Object
org.keycloak.models.utils.UserModelDelegate
org.keycloak.storage.ldap.LDAPWritesOnlyUserModelDelegate
All Implemented Interfaces:
RoleMapperModel, UserModel

public class LDAPWritesOnlyUserModelDelegate extends UserModelDelegate
User model delegate, which tracks what attributes were written to LDAP in this transaction. For those attributes, it will skip calling delegate for doing any additional updates. It may be typically used together with Read-Only delegate. The result is that read-only exception will be thrown when attempt to update any user attribute, which is NOT mapped to LDAP.
Author:
Marek Posolda