diff --git a/cookbook/security/pre_authenticated.rst b/cookbook/security/pre_authenticated.rst index e3501c54884..2d8e6202528 100644 --- a/cookbook/security/pre_authenticated.rst +++ b/cookbook/security/pre_authenticated.rst @@ -151,3 +151,10 @@ key in the ``remote_user`` firewall configuration. Just like for X509 authentication, you will need to configure a "user provider". See :ref:`the previous note ` for more information. + +.. caution:: + + :doc:`User impersonation ` is not + compatible with ``REMOTE_USER`` based authentication. The reason is that + impersonation requires the authentication state to be maintained server-side + but ``REMOTE_USER`` information is sent by the browser in each request.