directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRAPI-29) Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(), getBindDn() on LdapConnection interface
Date Mon, 13 Sep 2010 11:56:34 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908732#action_12908732
] 

Pierre-Arnaud Marcelot commented on DIRAPI-29:
----------------------------------------------

Indeed, thanks for the hint Kiran.
I was not aware of that LdapConnectionConfig class.

- getHost() -> LdapConnectionConfig.getLdapHost()
- getPort() -> LdapConnectionConfig.getLdapPort()
- isSsl() -> LdapConnectionConfig.isUseSsl()
- isBound() -> LdapConnection.isAuthenticated()
- isAnonymous() does not exist
- getBindDn() -> LdapConnectionConfig.getName()

> 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.


Mime
View raw message