Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8560

CTS should use replace rather than delete/add for single valued attributes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.0.0
    • Component/s: CTS
    • Labels:
    • Support Ticket IDs:

      Description

      The current token update mechanism uses Entries.diffEntries() to calculate the LDAP modify operation when updating tokens.

      Currently this can result in a lot of operations that look like this:

      delete: coreTokenObject
      coreTokenObject: <big serialized object>
      -
      add: coreTokenObject
      coreTokenObject: <big serialized object>
      

      A significant improvement would be to always use:

      replace: coreTokenObject
      coreTokenObject: <big serialized object>
      

      Pros:

      • The impact of problems such as OPENDJ-1192 and family (very common with CTS) is much less severe.
      • Approximately half the network data needed
      • Slightly less processing required in OpenDJ

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ian.packer Ian Packer [X] (Inactive)
                Reporter:
                ian.packer Ian Packer [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: