public class LDAPTransaction extends AbstractKeycloakTransaction
AbstractKeycloakTransaction.TransactionState| Modifier and Type | Field and Description |
|---|---|
static org.jboss.logging.Logger |
logger |
state| Constructor and Description |
|---|
LDAPTransaction(LDAPStorageProvider ldapProvider,
LDAPObject ldapUser) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdatedAttribute(String attributeName)
Add attribute, which will be updated in LDAP in this transaction
|
void |
addUpdatedRequiredAction(String requiredActionName)
Add required action, which will be updated in LDAP in this transaction
|
protected void |
commitImpl() |
boolean |
isAttributeUpdated(String attributeName) |
boolean |
isRequiredActionUpdated(String requiredActionName) |
protected void |
rollbackImpl() |
begin, commit, getRollbackOnly, getState, isActive, rollback, setRollbackOnlypublic LDAPTransaction(LDAPStorageProvider ldapProvider, LDAPObject ldapUser)
protected void commitImpl()
commitImpl in class AbstractKeycloakTransactionprotected void rollbackImpl()
rollbackImpl in class AbstractKeycloakTransactionpublic void addUpdatedAttribute(String attributeName)
attributeName - model attribute name (For example "firstName", "lastName", "street")public boolean isAttributeUpdated(String attributeName)
attributeName - model attribute name (For example "firstName", "lastName", "street")public void addUpdatedRequiredAction(String requiredActionName)
requiredActionName - public boolean isRequiredActionUpdated(String requiredActionName)
requiredActionName - Copyright © 2021 JBoss by Red Hat. All rights reserved.