[
https://issues.apache.org/jira/browse/DIRAPI-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908745#action_12908745
]
Pierre-Arnaud Marcelot commented on DIRAPI-29:
----------------------------------------------
+1, it would be handy to have them directly accessible.
However, as LdapConnection is very generic, I'm not sure for some methods like:
- getLdapHost()
- getLdapPort()
- isSsl()
should be present.
They're more likely to be added to the LdapNetworkConnection, as it's a
network-related implementation of an LdapConnection.
> Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(),
> getBindDn() on LdapConnection interface
> -----------------------------------------------------------------------------------------------------------------
>
> Key: DIRAPI-29
> URL: https://issues.apache.org/jira/browse/DIRAPI-29
> Project: Directory client API
> Issue Type: Improvement
> Reporter: Pierre-Arnaud Marcelot
> Fix For: 0.3.0
>
>
> I think it would be interesting to have a few methods added on the
> LdapConnection interface like:
> - getHost() to get the name of the remote host
> - getPort() to get the port of the remote host
> - isSsl() to know if the connection is using SSL encryption
> - isBound() to know if the connection has already been bound
> - isAnonymous() to know if the connection has been bound anonymously
> - getBindDn() to get the DN of the principal used for binding
> - and probably more in the same way.
> Thoughts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.