Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4607

ldap connection pool not created when using ssl (ldaps)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.4, 4.0.5, 3.0.7
    • Fix Version/s: 4.1.0, 4.0.6, 3.0.8, 2.4.5
    • Component/s: karaf
    • Labels:
      None

      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

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              gzres Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: