Class MergeOperation


  • public class MergeOperation
    extends java.lang.Object
    The merge operation performs the LDAP operations necessary to synchronize the data in an LdapEntry with it's corresponding entry in the LDAP. The following logic is executed:
    • if the entry does not exist in the LDAP, execute an add
    • if the request is for a delete, execute a delete
    • if the entry exists in the LDAP, execute a modify

    LdapEntry.computeModifications(LdapEntry, LdapEntry) is used to determine the list of attribute modifications that are necessary to perform the merge. Either MergeRequest.getIncludeAttributes() or MergeRequest.getExcludeAttributes() will be used, but not both.

    Author:
    Middleware Services