directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lucas theisen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-1938) Create an LdapConnectionFactory that is not pooled to create LdapConnection objects for an LdapConnectionConfig
Date Fri, 13 Dec 2013 22:30:09 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

lucas theisen updated DIRSERVER-1938:
-------------------------------------

    Attachment: PoolableLdapConnectionFactoryWrapper.java
                LdapConnections.java
                LdapConnectionFactory.java
                DefaultLdapConnectionFactory.java

If you are willing to merge this in, I can modify anything you find missing.

> Create an LdapConnectionFactory that is not pooled to create LdapConnection objects for
an LdapConnectionConfig
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1938
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1938
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: ldap
>    Affects Versions: 2.0.0-M16
>            Reporter: lucas theisen
>            Priority: Minor
>         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.1.4#6159)

Mime
View raw message