From dev-return-35341-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Fri Oct 15 08:36:01 2010 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 37661 invoked from network); 15 Oct 2010 08:36:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Oct 2010 08:36:00 -0000 Received: (qmail 46142 invoked by uid 500); 15 Oct 2010 08:36:00 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 46103 invoked by uid 500); 15 Oct 2010 08:35:58 -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 46096 invoked by uid 99); 15 Oct 2010 08:35:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 08:35:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 08:35:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9F8ZWdG026941 for ; Fri, 15 Oct 2010 08:35:32 GMT Message-ID: <29905164.157941287131732561.JavaMail.jira@thor> Date: Fri, 15 Oct 2010 04:35:32 -0400 (EDT) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRAPI-32) Should bind() method be used for anonymous bind or should it take bind DN and credentials from the LdapConnectionConfig? In-Reply-To: <28523655.157791287131617690.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRAPI-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Arnaud Marcelot updated DIRAPI-32: ----------------------------------------- Description: Should bind() method be used for anonymous bind or should it take bind DN and credentials from the LdapConnectionConfig? When using the API, I thought the bind() method would use the bind DN and credentials I provided in the LdapConnectionConfig when creating the connection. I personally think we should rename the current bind() method as BindAnonymously() and let the bind() method reuse the LdapConnectionConfig parameter (if none are provided for Bind DN and credentials, then it would implicitly be an anonymous bind). Thoughts? was: Should bind() method be used for anonymous bind or should it take bind DN and credentials from the LdapConnectionConfig? When using the API, I thought the bind() method would use the bind DN and credentials I provided in the LdapConnectionConfig when creating the connection. I personally think we should rename the current bind() method as BindAnonymously() and let the bind() method reuse the LdapConnectionConfig parameter (if none are provided for Bind DN and credentials, then it would implicitly be an anonymous bind) > Should bind() method be used for anonymous bind or should it take bind DN and credentials from the LdapConnectionConfig? > ------------------------------------------------------------------------------------------------------------------------ > > Key: DIRAPI-32 > URL: https://issues.apache.org/jira/browse/DIRAPI-32 > Project: Directory Client API > Issue Type: Improvement > Reporter: Pierre-Arnaud Marcelot > Fix For: 0.2.0 > > > Should bind() method be used for anonymous bind or should it take bind DN and credentials from the LdapConnectionConfig? > When using the API, I thought the bind() method would use the bind DN and credentials I provided in the LdapConnectionConfig when creating the connection. > I personally think we should rename the current bind() method as BindAnonymously() and let the bind() method reuse the LdapConnectionConfig parameter (if none are provided for Bind DN and credentials, then it would implicitly be an anonymous bind). > Thoughts? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.