From dev-return-8161-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Thu Sep 29 16:24:07 2005 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 83300 invoked from network); 29 Sep 2005 16:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2005 16:24:06 -0000 Received: (qmail 17087 invoked by uid 500); 29 Sep 2005 16:24:03 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 16941 invoked by uid 500); 29 Sep 2005 16:24:02 -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 16885 invoked by uid 99); 29 Sep 2005 16:24:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 09:24:01 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_POST,FROM_ENDS_IN_NUMS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of aok123@bellsouth.net designates 205.152.59.68 as permitted sender) Received: from [205.152.59.68] (HELO imf20aec.mail.bellsouth.net) (205.152.59.68) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 09:24:06 -0700 Received: from ibm62aec.bellsouth.net ([205.152.59.157]) by imf20aec.mail.bellsouth.net with ESMTP id <20050929162338.XIFC3115.imf20aec.mail.bellsouth.net@ibm62aec.bellsouth.net> for ; Thu, 29 Sep 2005 12:23:38 -0400 Received: from mail.bellsouth.net ([205.152.59.157]) by ibm62aec.bellsouth.net with SMTP id <20050929162338.YVSW27918.ibm62aec.bellsouth.net@mail.bellsouth.net> for ; Thu, 29 Sep 2005 12:23:38 -0400 X-Mailer: Openwave WebEngine, version 2.8.16.1 (webedge20-101-1106-101-20040924) X-Originating-IP: [65.90.232.2] From: Alex Karasulu Organization: Solarsis Group To: "Apache Directory Developers List" Subject: Re: Re: [ApacheDS][ACDFEngine] Why are we passing NextInterceptor to engine? Date: Thu, 29 Sep 2005 12:23:38 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20050929162338.YVSW27918.ibm62aec.bellsouth.net@mail.bellsouth.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > > From: Trustin Lee > Date: 2005/09/29 Thu AM 11:04:15 EDT > To: Apache Directory Developers List > Subject: Re: [ApacheDS][ACDFEngine] Why are we passing NextInterceptor to engine? > > 2005/9/29, Alex Karasulu : > > > > Sorry I still cannot understand why you need the interceptor. Can you > > tell me what you do with the interceptor? > > > ProtectedItem.MaxImmSub requires the access to the DIT because it limits the > number of siblings. We cannot simply use ContextPartition because it > bypasses all next interceptors in the chain. That's why we need > NextInterceptor to implement ACDF. If you need access to the DIT then you should just pass in the PartitionContextNexus rather then passing in the NextInterceptor. Passing in the NextInterceptor makes me think you want to complete the operation within the ACDFEngine rather than use it to access the DIT. Can you outline how you are accessing the DIT using NextInterceptor? Alex