You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/02/09 10:12:59 UTC

[jira] Created: (DIRSERVER-1310) Improve the way we handle controls encoding/decoding

Improve the way we handle controls encoding/decoding
----------------------------------------------------

                 Key: DIRSERVER-1310
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1310
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Emmanuel Lecharny
            Priority: Minor


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...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1310) Improve the way we handle controls encoding/decoding

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1310:
-----------------------------------------

    Affects Version/s: 1.5.4
        Fix Version/s: 2.0.0-RC1
           Issue Type: Improvement  (was: Bug)

> Improve the way we handle controls encoding/decoding
> ----------------------------------------------------
>
>                 Key: DIRSERVER-1310
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1310
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 1.5.4
>            Reporter: Emmanuel Lecharny
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> 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...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.