Interface PostResponseModifyOperation

All Superinterfaces:
PluginOperation, PostResponseOperation
All Known Implementing Classes:
ModifyOperation

public interface PostResponseModifyOperation extends PostResponseOperation
This class defines a set of methods that are available for use by post-response plugins for modify operations. Note that this interface is intended only to define an API for use by plugins and is not intended to be implemented by any custom classes.
  • Method Details

    • getEntryDN

      Dn getEntryDN()
      Retrieves the DN of the entry to modify.
      Returns:
      The DN of the entry to modify.
    • getModifications

      List<Modification> getModifications()
      Retrieves the set of modifications for this modify operation. Its contents should not be altered.
      Returns:
      The set of modifications for this modify operation.
    • getCurrentEntry

      Entry getCurrentEntry()
      Retrieves the current entry before any modifications are applied. It should not be modified by the caller.
      Returns:
      The current entry before any modifications are applied.
    • getModifiedEntry

      Entry getModifiedEntry()
      Retrieves the modified entry that is to be written to the backend. It should not be modified by the caller.
      Returns:
      The modified entry that is to be written to the backend.
    • getCurrentPasswords

      List<ByteString> getCurrentPasswords()
      Retrieves the set of clear-text current passwords for the user, if available. This will only be available if the modify operation contains one or more delete elements that target the password attribute and provide the values to delete in the clear. This list should not be altered by the caller.
      Returns:
      The set of clear-text current password values as provided in the modify request, or null if there were none.
    • getNewPasswords

      List<ByteString> getNewPasswords()
      Retrieves the set of clear-text new passwords for the user, if available. This will only be available if the modify operation contains one or more add or replace elements that target the password attribute and provide the values in the clear. This list should not be altered by the caller.
      Returns:
      The set of clear-text new passwords as provided in the modify request, or null if there were none.