Return-Path: X-Original-To: apmail-directory-api-archive@minotaur.apache.org Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2D8510293 for ; Tue, 16 Dec 2014 18:07:50 +0000 (UTC) Received: (qmail 90354 invoked by uid 500); 16 Dec 2014 18:07:50 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 90320 invoked by uid 500); 16 Dec 2014 18:07:50 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Received: (qmail 90308 invoked by uid 99); 16 Dec 2014 18:07:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2014 18:07:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2014 18:07:43 +0000 Received: by mail-wg0-f41.google.com with SMTP id y19so18200490wgg.0 for ; Tue, 16 Dec 2014 10:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZZeQyxX+1GY1rsXeV2SpH+LA1IqGNkzI2f6ue/1Zx08=; b=n/GyHgJNiLxMyFBrTfvds4Q8eZ6WdqcXVcZhKRrsjOcG9iMFl8nkFYuPEOWQ5gehuC nuTMI0edyZDRcQg4YaOfmSU/WUx8J8HOyoHjlyO9RzLoeMqIgl2mJEfhm/R9mUDj2jcW 0+kMwQ0nq/fIn3xERaE3rJueZoHerGABkZv/i0gXKyea0XGM6/J0OpyLCaCczxo4WMdi e3lAZYjOmo93JOBqosLQel8Q28xWsuOB0FUogPTeJDWm2flHmKcHdUkS1Dg1A55ByQ1r 4I5MkN3a4BvoNoSmHH2QWmLkyzNFmPGz4jhHTUi9s9hptvpw1EkSudcwGdS+jjh8KJcD Sk9g== X-Received: by 10.180.9.241 with SMTP id d17mr1694801wib.13.1418753242152; Tue, 16 Dec 2014 10:07:22 -0800 (PST) Received: from [192.168.1.10] (AMontsouris-651-1-151-225.w83-202.abo.wanadoo.fr. [83.202.70.225]) by mx.google.com with ESMTPSA id mo12sm1968544wjc.35.2014.12.16.10.07.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Dec 2014 10:07:20 -0800 (PST) Message-ID: <549074D7.6040404@gmail.com> Date: Tue, 16 Dec 2014 19:07:19 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: api@directory.apache.org Subject: Re: Question about LDAP API References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Le 16/12/14 17:34, rodolfo23cr . a =C3=A9crit : > Hello, > > I'm working on a small application to examine and manipulate an LDAP se= rver > entries. I noticed in the user guide that there are several calls that = are > not documented, are they already implemented?=20 Yes. The Javadoc should be more explicit that the (currently) blank pages. (http://directory.apache.org/api/gen-docs/latest/apidocs/) > and is there a list of the > features that are ready to be used in a production environment?=20 Every thing. There is only one thing we don't support yet, which is Referral handling on the client side. More specifically, we don't chase referrals automatically, but you can do it manually. > Finally I > would like to ask if there's any call that would let me change the DN o= f an > entry programatically meaning the attribute that identifies the entry. A DN is a list of RDN; You can get the left most RDN by doing Dn.getRdn(). Dn being immutable, you will have to construct a new Dn where the parent Rdn contains your own attribute and value, and append the Dn.getParent() part (ie, the Dn without the left most Rdn). Hope it helps.