Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31172

Upgrade shared-ldap library to version 1.0.0-M1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: 2023.x
    • Component/s: Directory

      Description

      In version 0.9.7,  the class LdapUrl isn't thread safe and concurrent requests could lead to this exception

      Caused by: org.apache.directory.shared.ldap.codec.util.LdapURLEncodingException: Filter is invalid
              at org.apache.directory.shared.ldap.codec.util.LdapURL.parse(LdapURL.java:263) ~[shared-ldap-0.9.7.jar:?]
              at org.apache.directory.shared.ldap.codec.util.LdapURL.<init>(LdapURL.java:313) ~[shared-ldap-0.9.7.jar:?]
              at org.nuxeo.ecm.directory.ldap.LDAPReference.getSourceIdsForTarget(LDAPReference.java:581) ~[nuxeo-platform-directory-ldap-10.10-HF47.jar:?]  
      

      This problem is fixed in version 1.0.0-M1

        Attachments

        1. ldap2019.diff
          19 kB
          Thierry Martins
        2. ldap2021.diff
          16 kB
          Thierry Martins

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: