Class LDAPTransaction

java.lang.Object
org.keycloak.models.AbstractKeycloakTransaction
org.keycloak.storage.ldap.mappers.LDAPTransaction
All Implemented Interfaces:
KeycloakTransaction

public class LDAPTransaction extends AbstractKeycloakTransaction
Author:
Marek Posolda
  • Field Details

    • logger

      public static final org.jboss.logging.Logger logger
  • Constructor Details

  • Method Details

    • commitImpl

      protected void commitImpl()
      Specified by:
      commitImpl in class AbstractKeycloakTransaction
    • rollbackImpl

      protected void rollbackImpl()
      Specified by:
      rollbackImpl in class AbstractKeycloakTransaction
    • addUpdatedAttribute

      public void addUpdatedAttribute(String attributeName)
      Add attribute, which will be updated in LDAP in this transaction
      Parameters:
      attributeName - model attribute name (For example "firstName", "lastName", "street")
    • isAttributeUpdated

      public boolean isAttributeUpdated(String attributeName)
      Parameters:
      attributeName - model attribute name (For example "firstName", "lastName", "street")
      Returns:
      true if attribute was updated in this transaction
    • addUpdatedRequiredAction

      public void addUpdatedRequiredAction(String requiredActionName)
      Add required action, which will be updated in LDAP in this transaction
      Parameters:
      requiredActionName -
    • isRequiredActionUpdated

      public boolean isRequiredActionUpdated(String requiredActionName)
      Parameters:
      requiredActionName -
      Returns:
      true if requiredAction was updated in this transaction