You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2026/09/28 21:50:00 UTC
[jira] [Resolved] (DIRAPI-472) Pooled connections keep previous borrower's bind identity with default factory
[ https://issues.apache.org/jira/browse/DIRAPI-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lécharny resolved DIRAPI-472.
--------------------------------------
Resolution: Fixed
Fixed with commit 551bb337f08afec2a6e834a0a21dae772e0fd7ac
> Pooled connections keep previous borrower's bind identity with default factory
> ------------------------------------------------------------------------------
>
> Key: DIRAPI-472
> URL: https://issues.apache.org/jira/browse/DIRAPI-472
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 2.1.8
> Reporter: Emmanuel Lécharny
> Priority: Minor
> Fix For: 2.1.9
>
>
> An app pools with _DefaultPoolableLdapConnectionFactory_ and uses the pool both for service-account operations and to verify user passwords by binding.
> User _Mallory_ authenticates and the connection returns to the pool bound as _Mallory_.
> The next request borrows it for an administrative modify, which executes as _Mallory_ — failing *ACI* checks at best, or silently running under the wrong authorization context; conversely a later user-facing request may inherit a privileged identity a prior borrower established.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org