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

defensively handle potential connection leaks in LdapUserGroupBuilder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: