Uploaded image for project: 'LDAP Connector'
  1. LDAP Connector
  2. MGNLLDAP-76

LDAP/ADUserManager is not thread safe and can cause inconsistency in resolved user object

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 1.6
    • 1.5
    • None
    • Yes

    Description

      LDAP/ADUserManager is instantiated only once. So calling methods from the manager can lead to concurrent modification of global variables. We need remove global variable to avoid the issue. Unfortunately this is not possible without changing public API.

      Apart from removing usage of class level variables, NameResolver.init() method needs to be modified. It has currently connection properties parameter and attributeMap parameter. AttributeMap contains all connection properties, so we don't need pass connection properties around.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                mdivilek Milan Divilek
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR