From dev-return-8153-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Thu Sep 29 02:58:35 2005 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 95860 invoked from network); 29 Sep 2005 02:58:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2005 02:58:34 -0000 Received: (qmail 62245 invoked by uid 500); 29 Sep 2005 02:58:34 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 62178 invoked by uid 500); 29 Sep 2005 02:58:33 -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 62165 invoked by uid 99); 29 Sep 2005 02:58:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 19:58:33 -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.67 as permitted sender) Received: from [205.152.59.67] (HELO imf19aec.mail.bellsouth.net) (205.152.59.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 19:58:38 -0700 Received: from ibm60aec.bellsouth.net ([65.80.200.112]) by imf19aec.mail.bellsouth.net with ESMTP id <20050929025810.KZNK3197.imf19aec.mail.bellsouth.net@ibm60aec.bellsouth.net> for ; Wed, 28 Sep 2005 22:58:10 -0400 Received: from [172.16.1.152] (really [65.80.200.112]) by ibm60aec.bellsouth.net with ESMTP id <20050929025810.GUSZ19429.ibm60aec.bellsouth.net@[172.16.1.152]> for ; Wed, 28 Sep 2005 22:58:10 -0400 Message-ID: <433B5841.8040709@bellsouth.net> Date: Wed, 28 Sep 2005 22:58:09 -0400 From: Alex Karasulu User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [ApacheDS][ACDFEngine] Why are we passing NextInterceptor to engine? References: <43384DF9.5000307@bellsouth.net> <768dcb2e05092614392e234813@mail.gmail.com> In-Reply-To: <768dcb2e05092614392e234813@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Trustin Lee wrote: > Alex, > > 2005/9/27, Alex Karasulu >: > > I'm trying to understand why we need to pass the reference to the next > interceptor into the ACDF engine's check and hasPermission methods? > Reason I ask is because all we need to do is throw an LdapNoPermission > exception and we exit the stack. Is there something I'm missing? > > > Please take a look at MaxImmSubFilter. It is the only place actually > requires NextInterceptor. ProtectedItem.MaxImmSub limits the maximum > number of immediate subordinates. Sorry I still cannot understand why you need the interceptor. Can you tell me what you do with the interceptor? Alex