Details
Description
When org.apache.karaf.jaas.modules.ldap.LDAPLoginModule is used with ldaps:// protocol and default (Sun) JNDI provider is used, LDAP connection pool is not used.
The problem is that com.sun.jndi.ldap.LdapPoolManager#isPoolingAllowed() does several checks when custom java.naming.ldap.factory.socket (which is the case with Karaf). Such factory has to implement java.util.Comparator interface, but actually String objects (com.sun.jndi.ldap.ClientId#socketFactory()) are passed to compare() method.
Attachments
Issue Links
- relates to
-
KARAF-6517 LDAPLoginModule + SSL + connection timeout problem
- Resolved
- links to