Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-157

defensively handle potential connection leaks in LdapUserGroupBuilder

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      It is likely KnoxLdapConnection could leak connections if there are exceptions thrown from with code calling ldap.
      We should close the searchResultEnum in finally block to avoid potential ldap connection leak.

        Attachments

        1. ARGUS-157.patch
          2 kB
          Dilli Arumugam

          Issue Links

            Activity

              People

              • Assignee:
                darumugam Dilli Arumugam
                Reporter:
                darumugam Dilli Arumugam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: