Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ECFB0200B6F for ; Wed, 10 Aug 2016 07:11:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E5405160AAD; Wed, 10 Aug 2016 05:11:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F624160AA5 for ; Wed, 10 Aug 2016 07:11:21 +0200 (CEST) Received: (qmail 26236 invoked by uid 500); 10 Aug 2016 05:11:20 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 26219 invoked by uid 99); 10 Aug 2016 05:11:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2016 05:11:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 719F02C02A4 for ; Wed, 10 Aug 2016 05:11:20 +0000 (UTC) Date: Wed, 10 Aug 2016 05:11:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4607) ldap connection pool not created when using ssl (ldaps) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 10 Aug 2016 05:11:22 -0000 [ https://issues.apache.org/jira/browse/KARAF-4607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414707#comment-15414707 ] ASF GitHub Bot commented on KARAF-4607: --------------------------------------- Github user grgrzybek closed the pull request at: https://github.com/apache/karaf/pull/206 > 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: 2.4.4, 4.0.5, 3.0.7 > Reporter: Grzegorz Grzybek > Assignee: Guillaume Nodet > Fix For: 4.1.0, 4.0.6, 3.0.8, 2.4.5 > > > 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 (v6.3.4#6332)