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/09/08 13:58:33 UTC

[jira] Created: (DIRAPI-29) Add methods like getHost(), getPort(), isSsl(), isBound(), getBindDn() on LdapConnection interface

Add methods like getHost(), getPort(), isSsl(), isBound(), 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
- 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.


[jira] Commented: (DIRAPI-29) Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(), getBindDn() on LdapConnection interface

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRAPI-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908743#action_12908743 ] 

Emmanuel Lecharny commented on DIRAPI-29:
-----------------------------------------

Might be a good idea to have those methods also available in the LdapConnection implementation class (may be by having LdapNetworkConnection extending the LdapConfiguration.

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


[jira] Commented: (DIRAPI-29) Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(), getBindDn() on LdapConnection interface

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (DIRAPI-29) Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(), getBindDn() on LdapConnection interface

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (DIRAPI-29) Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(), getBindDn() on LdapConnection interface

Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRAPI-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908728#action_12908728 ] 

Kiran Ayyagari commented on DIRAPI-29:
--------------------------------------

Most of these methods exist but are scattered, some present in LdapConnectionConfig and some are directly present in 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.


[jira] Updated: (DIRAPI-29) Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(), getBindDn() on LdapConnection interface

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRAPI-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRAPI-29:
-----------------------------------------

        Summary: Add methods like getHost(), getPort(), isSsl(), isBound(), isAnonymous(), getBindDn() on LdapConnection interface  (was: Add methods like getHost(), getPort(), isSsl(), isBound(), getBindDn() on LdapConnection interface)
    Description: 
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? 

  was:
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
- getBindDn() to get the DN of the principal used for binding
- and probably more in the same way.

Thoughts? 


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