Issue Details (XML | Word | Printable)

Key: DIRSERVER-185
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Emmanuel Lecharny
Reporter: Van Nhu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Twix Support for LDAP Controls

Created: 30/Nov/05 03:49 PM   Updated: 21/Apr/07 11:19 AM
Return to search
Component/s: None
Affects Version/s: pre-1.0
Fix Version/s: 1.5.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works better_twix_support_for_ldap_controls.patch 2005-11-30 04:23 PM Van Nhu 33 kB
Java Source File Licensed for inclusion in ASF works TwixProviderTest.java 2005-11-30 03:53 PM Van Nhu 9 kB

Resolution Date: 26/Aug/06 11:00 AM


 Description  « Hide
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() method

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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Van Nhu made changes - 30/Nov/05 03:53 PM
Field Original Value New Value
Attachment TwixProviderTest.java [ 12321037 ]
Van Nhu made changes - 30/Nov/05 04:23 PM
Emmanuel Lecharny made changes - 27/Jan/06 10:36 PM
Type Bug [ 1 ] Improvement [ 4 ]
Alex Karasulu made changes - 07/Feb/06 02:39 PM
Project Directory LDAP [ 10514 ] ApacheDS [ 12310260 ]
Type Improvement [ 4 ] Bug [ 1 ]
Affects Version/s 0.9.3 [ 12310221 ]
Key DIRLDAP-75 DIRSERVER-185
Emmanuel Lecharny made changes - 12/Feb/06 06:38 PM
Type Bug [ 1 ] Improvement [ 4 ]
Fix Version/s 1.1.0 [ 12310790 ]
Assignee Emmanuel Lecharny [ elecharny ]
Affects Version/s pre-1.0 [ 12310782 ]
Emmanuel Lecharny made changes - 02/Mar/06 08:15 AM
Status Open [ 1 ] In Progress [ 3 ]
Emmanuel Lecharny made changes - 26/Aug/06 11:00 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Emmanuel Lecharny made changes - 21/Apr/07 11:19 AM
Status Resolved [ 5 ] Closed [ 6 ]