Skip to content

Added a caution note about REMOTE_USER and user impersonation #6423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cookbook/security/pre_authenticated.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cookbook-security-pre-authenticated-user-provider-note>`
for more information.

.. caution::

:doc:`User impersonation </cookbook/security/impersonating_user>` 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.