Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 62850 invoked from network); 29 Nov 2009 15:54:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Nov 2009 15:54:49 -0000 Received: (qmail 14059 invoked by uid 500); 29 Nov 2009 15:54:49 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 13980 invoked by uid 500); 29 Nov 2009 15:54:48 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 13970 invoked by uid 99); 29 Nov 2009 15:54:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Nov 2009 15:54:47 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.219.217] (HELO mail-ew0-f217.google.com) (209.85.219.217) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Nov 2009 15:54:39 +0000 Received: by ewy9 with SMTP id 9so335066ewy.11 for ; Sun, 29 Nov 2009 07:54:16 -0800 (PST) Received: by 10.213.79.78 with SMTP id o14mr2899001ebk.21.1259510055671; Sun, 29 Nov 2009 07:54:15 -0800 (PST) Received: from ?41.17.31.49? (vc-41-17-31-49.umts.vodacom.co.za [41.17.31.49]) by mx.google.com with ESMTPS id 28sm5637493eyg.4.2009.11.29.07.54.11 (version=SSLv3 cipher=RC4-MD5); Sun, 29 Nov 2009 07:54:12 -0800 (PST) User-Agent: Microsoft-Entourage/12.23.0.091001 Date: Sun, 29 Nov 2009 17:54:06 +0200 Subject: Re: PARITION AGAIN From: Jacques Oosthuizen To: Message-ID: Thread-Topic: PARITION AGAIN Thread-Index: AcpxDC4S1wuIPbq7akePvCAZzztf8w== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Thanks for the help , I have removed the Autheniticator but my bind method still does not get called. I do see in the logs a lookup happening in the BindHandler and that it is failing because by dn for auth is not found. It is not calling my lookup in my partition. I am thinking of implementing my own BindHandler to handle this but that seems like too much work . On 2009/11/28 10:11 PM, "Ersin ER" wrote: > The interceptor's name should be AuthenticationInterceptor or > authenticationInterceptor. >=20 > (You may just iterate over the interceptors and print their names.) >=20 > On Sat, Nov 28, 2009 at 19:24, Jacques Oosthuizen w= rote: >=20 >> I still have tried to remove the interceptor like >>=20 >>=20 >>=20 >> directoryService.getInterceptorChain().remove("org.apache.directory.serv= er.c >> ore.authn.AuthenticationInterceptor"); >>=20 >> I have also tried removing from actual list but if I print the list the >> interceptor is still there. >>=20 >>=20 >>=20 >> On 2009/11/27 11:35 PM, "Ersin ER" wrote: >>=20 >>> You need to call getInterceptorChain() if you really want to work on th= e >>> chain. getInterceptors() just returns a clone of it. And removing the >>> default Authn interceptor should really help, because it obviously >> prevents >>> the bind call being forwarded in the chain. (I just checked the code.) >>>=20 >>> HTH, >>>=20 >>> On Fri, Nov 27, 2009 at 15:12, Jacques Oosthuizen >> wrote: >>>=20 >>>> Still not having luck , even if I remove the default authenticator >>>>=20 >>>> List interceptors =3D directoryService.getInterceptors(); >>>> Iterator iter =3D interceptors.iterator(); >>>> while (iter.hasNext()) { >>>> Interceptor next =3D iter.next(); >>>>=20 >>>> if (next instanceof >>>> org.apache.directory.server.core.authn.AuthenticationInterceptor) >>>> { >>>>=20 >>>> interceptors.remove(next); >>>> break; >>>> } >>>>=20 >>>> } >>>>=20 >>>> But my bind in my partition still does not get called . Any help will = be >>>> appreciated >>>>=20 >>>> Jacques Oosthuizen >>>> Conor Information Technologies >>>> Director >>>> mobile : 0827699138 >>>> web : http://www.conor.co.za >>>> mail : jacqueso@conor.co.za >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>=20 >>=20 >> Jacques Oosthuizen >> Conor Information Technologies >> Director >> mobile : 0827699138 >> web : http://www.conor.co.za >> mail : jacqueso@conor.co.za >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >=20 Jacques Oosthuizen Conor Information Technologies Director mobile : =A00827699138 web : http://www.conor.co.za mail :=A0jacqueso@conor.co.za