directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Resolved: (DIRSERVER-185) Twix Support for LDAP Controls
Date Sat, 26 Aug 2006 11:01:24 GMT
     [ ]

Emmanuel Lecharny resolved DIRSERVER-185.

    Resolution: Fixed

We will merge Twix and Snickers messages into a single set of classes. The idea would also
be to create an API to help users who want to directly create clients for Ldap servers. It
will be available for 1.1 or maybe 2.0

> Twix Support for LDAP Controls
> ------------------------------
>                 Key: DIRSERVER-185
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: pre-1.0
>            Reporter: Van Nhu
>         Assigned To: Emmanuel Lecharny
>             Fix For: 1.1.0
>         Attachments: better_twix_support_for_ldap_controls.patch,
> Please excuse my limited understanding of the LDAP Common source base, but it seems that
the support for LDAP controls in the TwixTransformer is not complete. So I've made the following
modifications to the LDAP Common module in order to have my Virtual Directory to correctly
process the various LDAP controls:
> 1. Get the Twix Control class to implement the javax.naming.ldap.Control interface. Firstly,
this is because Twix Controls are really LDAP Controls, and secondly, this makes it easier
to create an org.apache.ldap.common.message.ControlImpl instance from a Twix Control object.
> 2. Remove the extraneous method declarations in org.apache.ldap.common.message.Control
because they are already defined in javax.naming.ldap.Control
> 3. Fix a NullPointerException in org.apache.asn1new.ldap.pojo.LdapMessage.addControl()
> 4. Implement the method org.apache.asn1new.ldap.TwixTransformer.transformControls() so
that the Response Controls are propagated to the LDAP client properly.
> The patch and the unit tests will be attached here shortly for your reference.
> Thanks and Regards,
> Van

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message