Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-7908

rest2ldap cannot delete dangling references

    XMLWordPrintable

    Details

    • Bug
    • Status: Dev backlog
    • Major
    • Resolution: Unresolved
    • 7.0.0
    • None
    • rest
    • None

      Description

      During IDM work, Jason discovered that REST2LDAP is not able to delete dangling references by using a PATCH remove request.

      The reason being seems to be that REST2LDAP needs to referenced object to exist in order to delete the reference.

      A possible explanation is that PATCH needs to resolve the DN based on the given resource-id. This DN resolution depends on the NamingStrategy. It seems possible, in the case of DnNamingStrategy, to have PATCH actually build this DN from the resource-id instead of doing an LDAP search for it.

      Here the link to what Jason discovered: https://stash.forgerock.org/projects/OPENDJ/repos/opendj/pull-requests/6561/overview?commentId=1244710

        Attachments

          Activity

            People

            Unassigned Unassigned
            ylecaillez Yannick Lecaillez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: