-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Environment (Required on creation):
Any distribution, LDAP identity plugin enabled.
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
The checkPassword method leaves an orphaned LDAP context. If the resource is not closed properly, it can lead to memory leaks.
Steps to reproduce (Required on creation):
- Enable the LDAP identity plugin in any distribution.
- Stress test user login (the checkPassword method), e.g.:
- Enable authentication for the REST API.
- Repeatedly call any method that requires authentication from a stress test tool.
Observed Behavior (Required on creation):
A memory leak.
Expected behavior (Required on creation):
No memory leak.
Root Cause (Required on prioritization):
Solution Ideas (Optional):
Close the context in a finally block, see this PR
Hints (optional):
This is the controller panel for Smart Panels app
- is related to
-
CAM-14624 Backport CAM-14622
- Closed