Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 80889 invoked from network); 16 Oct 2007 00:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2007 00:31:31 -0000 Received: (qmail 84083 invoked by uid 500); 16 Oct 2007 00:31:18 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 84033 invoked by uid 500); 16 Oct 2007 00:31:18 -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 84022 invoked by uid 99); 16 Oct 2007 00:31:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 17:31:18 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2007 00:31:22 +0000 Received: by wa-out-1112.google.com with SMTP id m38so2536580waf for ; Mon, 15 Oct 2007 17:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=mwItqoOUjlhtvPtDaDyN68EggJoEv4TGHVB1Z2KsL0Y=; b=FamI7RAXC2pkDQTNF9NHWf1AEDaV4GprX50+jZqpS7PZO9YlxVX3NMIYQSB3E+zlShVg6zfkhgZEdrD6S2iEToleeqcCcXqXQmbmlB26OJFw41rkIW/GalneBhLTQFNbUsybFgxw0J+eciwNkG+tJryL2EUoiuS6+4ZjgtpC31I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=MQBOJeuI6ULZf5CtkFgcCq7xsIr4kDCWtYCFgf+rc9Y3qdfz8IdnYbBTm2SUZFOT14KJi/zZ4qOf1EBBfr5MV4/owyOgj/zoMt274cknY+F300E4mPWMfuzZlR4ompyBjlBB60qSodA8xxEE3pfy+O0SVxDsrMcaVCHylII2fiE= Received: by 10.114.77.1 with SMTP id z1mr7683024waa.1192494659634; Mon, 15 Oct 2007 17:30:59 -0700 (PDT) Received: by 10.115.76.8 with HTTP; Mon, 15 Oct 2007 17:30:59 -0700 (PDT) Message-ID: Date: Mon, 15 Oct 2007 20:30:59 -0400 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: [ApacheDS] Removing chain pattern from SASL binds MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30643_20808924.1192494659629" X-Google-Sender-Auth: 810ec1668afce9af X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30643_20808924.1192494659629 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Emmanuel, Most of the logic in the chain can be moved out into simple stupid methods removing much of the complexity. For now we might just flatten and use a method to do what each link was doing. I have no idea why the chain pattern was used in the first place. Do you know? We might use CoR in the core for intercepting calls but here I cannot see any reason for it. It's a damn mess. After you're done refactoring I might clean up a tiny bit more. I think we need to take a pass to just review the code perhaps looking for more cleanups we can make. Then we can get on with Phase II. If you like we can do a peer review of the entire state of the server. Perhaps around the weekend or right after. WDYT? I'll be hard to reach tomorrow but tonight I will review some of those new interfaces for Phase II. Alex ------=_Part_30643_20808924.1192494659629 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Emmanuel,

Most of the logic in the chain can be moved out into simple stupid methods removing much of
the complexity.  For now we might just flatten and use a method to do what each link was doing.
I have no idea why the chain pattern was used in the first place.  Do you know?  We might use
CoR in the core for intercepting calls but here I cannot see any reason for it.  It's a damn mess.

After you're done refactoring I might clean up a tiny bit more.  I think we need to take a pass
to just review the code perhaps looking for more cleanups we can make.  Then we can get on
with Phase II.  If you like we can do a peer review of the entire state of the server.  Perhaps
around the weekend or right after. WDYT?

I'll be hard to reach tomorrow but tonight I will review some of those new interfaces for Phase II.

Alex



------=_Part_30643_20808924.1192494659629--