You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2011/05/21 15:11:47 UTC

[jira] [Resolved] (DIRSHARED-115) Should bind() method be used for anonymous bind or should it take bind DN and credentials from the LdapConnectionConfig?

     [ https://issues.apache.org/jira/browse/DIRSHARED-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSHARED-115.
-----------------------------------------

    Resolution: Fixed

Applied a fix : http://svn.apache.org/viewvc?rev=1125690&view=rev


> Should bind() method be used for anonymous bind or should it take bind DN and credentials from the LdapConnectionConfig?
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSHARED-115
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-115
>             Project: Directory Shared
>          Issue Type: Bug
>            Reporter: Pierre-Arnaud Marcelot
>             Fix For: 1.0.0-M4
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira