karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4607) ldap connection pool not created when using ssl (ldaps)
Date Mon, 25 Jul 2016 16:53:20 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15392274#comment-15392274
] 

ASF subversion and git services commented on KARAF-4607:
--------------------------------------------------------

Commit 70332bba3e946791f154be37cdd096b6012c117e in karaf's branch refs/heads/karaf-2.x from
[~gzres]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=70332bb ]

[KARAF-4607] Fix pooling scenarion with ldaps:// and default Sun provider

(cherry picked from commit efc5f2a2874a3adb92f3f8bd79c024ee4a01bb56)


> 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: Jean-Baptiste Onofré
>             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)

Mime
View raw message