public class LocalBackendModifyOperation extends ModifyOperationWrapper implements PreOperationModifyOperation, PostOperationModifyOperation, PostResponseModifyOperation, PostSynchronizationModifyOperation
LOCALBACKENDOPERATIONS| Constructor and Description |
|---|
LocalBackendModifyOperation(ModifyOperation modify)
Creates a new operation that may be used to modify an entry in a
local backend of the Directory Server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify
operation.
|
Entry |
getCurrentEntry()
Retrieves the current entry before any modifications are applied.
|
List<org.forgerock.opendj.ldap.ByteString> |
getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if
available.
|
Entry |
getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.
|
List<org.forgerock.opendj.ldap.ByteString> |
getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available.
|
void |
performAdditionalPasswordChangedProcessing()
Performs additional preliminary processing that is required for a
password change.
|
void |
processLocalModify(LocalBackendWorkflowElement wfe)
Process this modify operation against a local backend.
|
addRawModification, getEntryDN, getModifications, getRawEntryDN, getRawModifications, setRawEntryDN, setRawModifications, toStringabort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, equals, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperation, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getProxiedAuthorizationDN, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, hashCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setProxiedAuthorizationDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEntryDN, getModifications, getRawEntryDN, getRawModificationsaddAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, removeResponseControl, setErrorMessagegetEntryDN, getModifications, getRawEntryDN, getRawModificationsaddAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getReferralURLs, getResultCode, removeResponseControl, setErrorMessage, setMatchedDN, setReferralURLs, setResponseData, setResultCodegetEntryDN, getModifications, getRawEntryDN, getRawModificationsgetAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCodegetEntryDN, getModifications, getRawEntryDN, getRawModificationsgetAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCodecheckIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControl, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toStringgetProxiedAuthorizationDN, setProxiedAuthorizationDNabort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toStringpublic LocalBackendModifyOperation(ModifyOperation modify)
modify - The operation to enhance.public final Entry getCurrentEntry()
getCurrentEntry in interface PostOperationModifyOperationgetCurrentEntry in interface PostResponseModifyOperationgetCurrentEntry in interface PostSynchronizationModifyOperationgetCurrentEntry in interface PreOperationModifyOperationnull if it is not yet
available.public final List<org.forgerock.opendj.ldap.ByteString> getCurrentPasswords()
getCurrentPasswords in interface PostOperationModifyOperationgetCurrentPasswords in interface PostResponseModifyOperationgetCurrentPasswords in interface PostSynchronizationModifyOperationgetCurrentPasswords in interface PreOperationModifyOperationnull if there were none or this
information is not yet available.public final Entry getModifiedEntry()
getModifiedEntry in interface PostOperationModifyOperationgetModifiedEntry in interface PostResponseModifyOperationgetModifiedEntry in interface PostSynchronizationModifyOperationgetModifiedEntry in interface PreOperationModifyOperationnull if it is not yet available.public final List<org.forgerock.opendj.ldap.ByteString> getNewPasswords()
getNewPasswords in interface PostOperationModifyOperationgetNewPasswords in interface PostResponseModifyOperationgetNewPasswords in interface PostSynchronizationModifyOperationgetNewPasswords in interface PreOperationModifyOperationnull if there were none or this
information is not yet available.public void addModification(Modification modification) throws DirectoryException
addModification in interface ModifyOperationaddModification in interface PreOperationModifyOperationaddModification in class ModifyOperationWrappermodification - The modification to add to the set of changes for
this modify operation.DirectoryException - If an unexpected problem occurs while applying
the modification to the entry.public void processLocalModify(LocalBackendWorkflowElement wfe) throws CanceledOperationException
wfe - The local backend work-flow element.CanceledOperationException - if this operation should be cancelledpublic void performAdditionalPasswordChangedProcessing() throws DirectoryException
DirectoryException - If a problem occurs that should cause the modify
operation to fail.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.