Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0D37A2004F5 for ; Fri, 1 Sep 2017 20:04:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0BA1E16D76D; Fri, 1 Sep 2017 18:04:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5B28B16D76A for ; Fri, 1 Sep 2017 20:04:05 +0200 (CEST) Received: (qmail 44194 invoked by uid 500); 1 Sep 2017 18:04: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 44184 invoked by uid 99); 1 Sep 2017 18:04:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2017 18:04:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EDE421A180D for ; Fri, 1 Sep 2017 18:04:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.473 X-Spam-Level: * X-Spam-Status: No, score=1.473 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 9io643312ogh for ; Fri, 1 Sep 2017 18:03:57 +0000 (UTC) Received: from zmcc-5-mx.zmailcloud.com (zmcc-5-mx.zmailcloud.com [52.201.171.122]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B80765FB2E for ; Fri, 1 Sep 2017 18:03:56 +0000 (UTC) Received: from zmcc-5-mta-1.zmailcloud.com (127.37.197.104.bc.googleusercontent.com [104.197.37.127]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zmcc-5-mx.zmailcloud.com (Postfix) with ESMTPS id 47509404E9 for ; Fri, 1 Sep 2017 13:06:50 -0500 (CDT) Received: from zmcc-5-mta-1.zmailcloud.com (localhost [127.0.0.1]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTPS id A4A09C1ACD for ; Fri, 1 Sep 2017 13:03:49 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTP id 6807CC26DE for ; Fri, 1 Sep 2017 13:03:49 -0500 (CDT) X-Virus-Scanned: amavisd-new at zmcc-5-mta-1.zmailcloud.com Received: from zmcc-5-mta-1.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-5-mta-1.zmailcloud.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id u9zCervpVS_0 for ; Fri, 1 Sep 2017 13:03:49 -0500 (CDT) Received: from [192.168.1.29] (unknown [176.154.3.51]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTPSA id 15DA7C1ACD for ; Fri, 1 Sep 2017 13:03:48 -0500 (CDT) Subject: Re: EntryFilteringCursor question To: Apache Directory Developers List References: <9a1d06f5-48c9-13d6-9923-783c7d239b98@gmail.com> From: =?UTF-8?Q?Emmanuel_L=c3=a9charny?= Message-ID: Date: Fri, 1 Sep 2017 20:03:47 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: quoted-printable archived-at: Fri, 01 Sep 2017 18:04:06 -0000 Le 01/09/2017 =C3=A0 19:26, Sathyanarayan, Harish a =C3=A9crit=C2=A0: > Yes, that what I am doing but my client is throwing ERR_02014_UNSUPPOR= TED_OPERATION The method=20 > org.apache.directory.ldap.client.api.EntryCursorImpl.beforeFirst() is n= ot supported' > > my simple client code is Entry cursor =3D connection.search(searchDn, = "(objectclass=3D*)", SearchScope.SUBTREE); You are not using the correct cursor implementation. Interceptors must use the EntryFilteringCursor interface, which is not implemented by the EntryCursorImpl. Use a EntryFilteringCursorImpl, or a EntryCursorAdaptor instance to wrap your results. --=20 Emmanuel Lecharny Symas.com directory.apache.org