You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2010/10/15 10:35:32 UTC

[jira] Updated: (DIRAPI-32) 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/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.