directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-168) Create an LdapConnectionFactory that is not pooled to create LdapConnection objects for an LdapConnectionConfig
Date Sat, 26 Apr 2014 21:25:14 GMT

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

Emmanuel Lecharny commented on DIRAPI-168:
------------------------------------------

Thanks for the committed code, Lucs.

However, could you add the mandatory AL 2.0 header at the top of the
file, and a header before the created classes, containing a short
explaination and an @Autor tag ( * @author <a
href="mailto:dev@directory.apache.org">Apache Directory Project</a>
)

Many thanks !


> Create an LdapConnectionFactory that is not pooled to create LdapConnection objects for
an LdapConnectionConfig
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRAPI-168
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-168
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M20
>            Reporter: lucas theisen
>            Priority: Minor
>             Fix For: 1.0.0-M23
>
>         Attachments: DefaultLdapConnectionFactory.java, LdapConnectionFactory.java, LdapConnections.java,
PoolableLdapConnectionFactoryWrapper.java
>
>
> If using the ldap server for authentication, you do not want a pooled connection because
you will be doing a bind operation.  However, the ldap connection you want will be otherwise
configured the same as your pool of connections.  It makes sense to have a factory that can
create unbound connections.
> Taking this one step further, the poolable connection factory could use such a connection
factory so that the implementation exists in only one place.
> I will attach code that implements this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message