You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Dilli Arumugam (JIRA)" <ji...@apache.org> on 2014/11/05 23:14:33 UTC

[jira] [Created] (ARGUS-157) defensively handle potential connection leaks in LdapUserGroupBuilder

Dilli Arumugam created ARGUS-157:
------------------------------------

             Summary: defensively handle potential connection leaks in  LdapUserGroupBuilder
                 Key: ARGUS-157
                 URL: https://issues.apache.org/jira/browse/ARGUS-157
             Project: Argus
          Issue Type: Improvement
    Affects Versions: 0.4.0
            Reporter: Dilli Arumugam
            Assignee: Dilli Arumugam
             Fix For: 0.4.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)