[
https://issues.jboss.org/browse/ELY-797?page=com.atlassian.jira.plugin.sy...
]
Jan Kalina moved WFLY-7613 to ELY-797:
--------------------------------------
Project: WildFly Elytron (was: WildFly)
Key: ELY-797 (was: WFLY-7613)
Component/s: Realms
(was: Security)
Target Release: (was: 7.1.0.GA)
Affects Version/s: (was: 11.0.0.Alpha1)
Ldap security realm does not close DirContext properly
------------------------------------------------------
Key: ELY-797
URL:
https://issues.jboss.org/browse/ELY-797
Project: WildFly Elytron
Issue Type: Bug
Components: Realms
Reporter: Martin Choma
Priority: Blocker
There are methods in Elytron {{LdapSecurityRealm}} class which create/get DirContext, but
does not close him in finally block.
In some circumstances could cause context resource leak.
* LdapSecurityRealm
** getEvidenceVerifySupport
** getCredentialAcquireSupport
** getCredential
** setCredentials
* LdapRealmIdentity
** setCredentials
In same class there are examples of properly closed contexts:
* LdapRealmIdentity
** getCredential
** getEvidenceVerifySupport
** verifyEvidence
** getIdentity
** create
** setAttributes
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)