Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 55035 invoked from network); 8 Jun 2007 16:50:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jun 2007 16:50:48 -0000 Received: (qmail 548 invoked by uid 500); 8 Jun 2007 16:50:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 508 invoked by uid 500); 8 Jun 2007 16:50:51 -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 491 invoked by uid 99); 8 Jun 2007 16:50:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 09:50:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 09:50:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B7A177141E8 for ; Fri, 8 Jun 2007 09:50:26 -0700 (PDT) Message-ID: <19489884.1181321426749.JavaMail.jira@brutus> Date: Fri, 8 Jun 2007 09:50:26 -0700 (PDT) From: "Christine Koppelt (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-123) Refactor IConnection interface and Connection class In-Reply-To: <3404632.1180994066124.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502877 ] Christine Koppelt commented on DIRSTUDIO-123: --------------------------------------------- As Stefan and Enrique offered their help i would like to start implementing the SASL authentication after the refactoring has been finished. > Refactor IConnection interface and Connection class > --------------------------------------------------- > > Key: DIRSTUDIO-123 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-123 > Project: Directory Studio > Issue Type: Improvement > Components: studio-browser > Affects Versions: 0.8.0 > Reporter: Stefan Seelmann > Priority: Critical > > The IConnection interface and the Connection class (and its dependent classes) needs to be refactored: > - They are just too big: The IConnection interface defines 65 methods, the Connection class has more than 1000 LOC and no line of Javadoc :-( > - The procedure of opening a connection (connect, bind, load RootDSE, cache/refresh schema, load base entries) is just horrible > - The Connection class uses LDIF as an interface between the browser classes and the JNDI layer to retrieve information from the directory or to commit modifications. This causes heavy CPU consumption and slows down mass operations. > - In order to support new features lik strong authentication with SASL, extended operations and controls we also have to extend the IConnection interface. > I will create an confluence page that shows the current design. It would be cool if we could discuss the needed requirements and improve the design. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.