Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 97004 invoked from network); 1 Apr 2009 09:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 09:54:05 -0000 Received: (qmail 91834 invoked by uid 500); 1 Apr 2009 09:54:04 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91754 invoked by uid 500); 1 Apr 2009 09:54:04 -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 91746 invoked by uid 99); 1 Apr 2009 09:54:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 09:54:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.219.180 as permitted sender) Received: from [209.85.219.180] (HELO mail-ew0-f180.google.com) (209.85.219.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 09:53:54 +0000 Received: by ewy28 with SMTP id 28so3047365ewy.25 for ; Wed, 01 Apr 2009 02:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=O0bnIQ2Rx/Wtf6FDU6gDiCQoWKo/q5CPbwiAvQNN6A8=; b=BDKL0ZEdM5SwUX4PVS2iL2EffdAPS+v4FaTXFwyt40XcALqRM5YTw5gkFHaBFd0VTp hUGR2cTcYNRe6OhVD0OIArU28rKSeSroYacH+mRQwGtY5pntzmBMc2lBGLAOIVWofxhe NMmVt5068dH4F7hyrB3PLtzlKv2ZDXb1679ko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=JyMs3MpsS6qk4CoGdZv/kSpJz/usSACtor7AhMf8khjK94kWsgj4rKmpMkWSBYPw0g asQ5oZDJnkCUJDzwGGg2QVBBEu3fVb/WWXpbCV87L1b75FBRdb1NDTM0wynb2jpy5WgM cgRGTocDew46Q3PsfjkvdI97gFfMRGUxX2SWc= Received: by 10.216.52.196 with SMTP id e46mr2469913wec.124.1238579614105; Wed, 01 Apr 2009 02:53:34 -0700 (PDT) Received: from ?192.168.0.2? (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by mx.google.com with ESMTPS id 23sm1317366eya.46.2009.04.01.02.53.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Apr 2009 02:53:33 -0700 (PDT) Sender: Emmanuel Lecharny Message-ID: <49D3399C.1040803@nextury.com> Date: Wed, 01 Apr 2009 11:53:32 +0200 From: Emmanuel Lecharny User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [Client API] Bind Operation References: <49CF4FE0.9040502@nextury.com> <49CF7567.5040807@gmail.com> <49CFAC1F.9000308@nextury.com> <49D11DAE.1000109@labeo.de> <49D14DED.5000505@nextury.com> <49D1F37D.1060301@nextury.com> <49D20AFA.1070507@nextury.com> <49D21B16.7080501@gmail.com> <49D232F5.8050705@nextury.com> <5A2110DC1CD00B45A0832E5BF98ECB0602CFB24E24@ex2> In-Reply-To: <5A2110DC1CD00B45A0832E5BF98ECB0602CFB24E24@ex2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Martin Alderson wrote: > One thing that could be done to make it easier for the user to specify these extra arguments is to use chainable setters as popularised by jQuery (I think!) which could give us something like: > > connection.bind(userDN, new BindOptions().setPassword(password).setTimeLimit(10000).setControls(controls)); > You and Alex convinced me that this chain concept, even if I don't like it, should be present, for those who want to use it. Anyway, it's a no brainer to implement. Wait... The commit has already been pushed ;) -- -- cordialement, regards, Emmanuel L�charny www.iktek.com directory.apache.org