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 Thu, 17 Feb 2011 16:54:24 GMT

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

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

Actually, having played a little more with the API and knowing the LdapConnectionConfig class,
I don't think it makes sense to add more methods.
The API is good as it is. ;)

> 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: 1.0-M1
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message