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

Fix opening and closing of LDAP directory sessions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.5
    • Component/s: Directory

      Description

      During concurrent calls to LDAPDirectory#getSession(), it is possible that new sessions aren't registered because there is no synchronization when registering them.

      Moreover, the method LDAPSession#close() may raise an exception before closing the session: closing the session should be moved in a finally block.

      Same problems with SQLDirectory and MultiDirectory

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: