karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Grzybek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4607) ldap connection pool not created when using ssl (ldaps)
Date Tue, 05 Jul 2016 07:19:11 GMT
Grzegorz Grzybek created KARAF-4607:

             Summary: ldap connection pool not created when using ssl (ldaps)
                 Key: KARAF-4607
                 URL: https://issues.apache.org/jira/browse/KARAF-4607
             Project: Karaf
          Issue Type: Bug
          Components: karaf-jndi
    Affects Versions: 3.0.7, 4.0.5, 2.4.4
            Reporter: Grzegorz Grzybek

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.

This message was sent by Atlassian JIRA

View raw message