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:49:00 UTC

[jira] [Created] (DIRAPI-472) Pooled connections keep previous borrower's bind identity with default factory

Emmanuel Lécharny created DIRAPI-472:
----------------------------------------

             Summary: 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
             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