Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 82714 invoked from network); 1 Mar 2006 23:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Mar 2006 23:18:29 -0000 Received: (qmail 90836 invoked by uid 500); 1 Mar 2006 23:19:15 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 90597 invoked by uid 500); 1 Mar 2006 23:19:14 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 90586 invoked by uid 99); 1 Mar 2006 23:19:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 15:19:12 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B2C22DD for ; Thu, 2 Mar 2006 00:18:46 +0100 (CET) Message-ID: <773799131.1141255126730.JavaMail.jira@ajax.apache.org> Date: Thu, 2 Mar 2006 00:18:46 +0100 (CET) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-185) Twix Support for LDAP Controls In-Reply-To: <2080965202.1133333430714.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-185?page=comments#action_12368392 ] Emmanuel Lecharny commented on DIRSERVER-185: --------------------------------------------- As I said, it as postponed for 1.1 release. So, right now, it's a work in progress : - the Control class has been renamed ControlImpl, and it implements the javax.naming.ldap.Control interface. - There will be no more twix or snickers implementation. Only a ADS implementation. I guess that then your suggestion will be fullfiled :) > Twix Support for LDAP Controls > ------------------------------ > > Key: DIRSERVER-185 > URL: http://issues.apache.org/jira/browse/DIRSERVER-185 > Project: Directory ApacheDS > Type: Improvement > Versions: pre-1.0 > Reporter: Van Nhu > Assignee: Emmanuel Lecharny > Fix For: 1.1.0 > Attachments: TwixProviderTest.java, 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() 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira