[jboss-jira] [JBoss JIRA] Closed: (JBAS-3448) LdapExtLoginModule can leak connections

Scott M Stark (JIRA) jira-events at jboss.com
Wed Aug 9 14:35:13 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3448?page=all ]

Scott M Stark closed JBAS-3448.
-------------------------------

    Fix Version/s: JBossAS-4.0.5.CR1
                   JBossAS-5.0.0.Beta
                       (was: JBossAS-4.0.6.CR1)
       Resolution: Done

The ldap ctx is closed in a finally block to ensure the ctx is closed even when an exception is thrown.

> LdapExtLoginModule can leak connections
> ---------------------------------------
>
>                 Key: JBAS-3448
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3448
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Security
>    Affects Versions: JBossAS-4.0.4.GA
>            Reporter: Scott M Stark
>         Assigned To: Scott M Stark
>             Fix For: JBossAS-4.0.5.CR1, JBossAS-5.0.0.Beta
>
>
> Its been reported that the LdapExtLoginModule can allow connection to build up when errors ocurr due to not explicitly closing the connection which requires that gc ocurr in order for the connection to be closed. Need to review the code to facilite the connection return.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list