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

        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.0-M13 [ 12324631 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Emmanuel Lecharny made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Fix Version/s 2.0.0-M3 [ 12316467 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M3 [ 12316467 ]
        Fix Version/s 2.0.0-M2 [ 12316056 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M2 [ 12316056 ]
        Fix Version/s 2.0.0-M1 [ 12316055 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0-M1 [ 12316055 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Emmanuel Lecharny made changes -
        Field Original Value New Value
        Affects Version/s 1.5.4 [ 12313147 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Emmanuel Lecharny created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development