Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1310

Improve the way we handle controls encoding/decoding

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 2.0.0-M13
    • Component/s: None
    • Labels:
      None

      Description

      Controls encoding and decoding could be improved a lot. Currently, we have two different data structure :

      • one in codec for each control
      • one in message storing the same data (almost)

      We should be able to merge both of them.

      Also as we need to convert controls in the twixTransformer class (this is to be reviewed), we have to find a better way to do it since it'"s done in a big if ... then ... else switch.

      Last, not least, we have to register any control in many places in the server? Into the rootDSE of course (this is done in the DefaultPartitionNexus class), but also in the LdapService class. We could do a better job in this area...

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development