Skip to content

Commit

Permalink
minor #6423 Added a caution note about REMOTE_USER and user impersona…
Browse files Browse the repository at this point in the history
…tion (javiereguiluz)

This PR was merged into the 2.7 branch.

Discussion
----------

Added a caution note about REMOTE_USER and user impersonation

Note: this should be merged 2.7 and higher.

Commits
-------

fbcfbb4 Fixed a path
d0c9ad9 Added a caution note about REMOTE_USER and user impersonation
  • Loading branch information
weaverryan committed Apr 12, 2016
2 parents fd7b6b1 + fbcfbb4 commit 069bffb
Showing 1 changed file with 7 additions and 0 deletions.
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.

0 comments on commit 069bffb

Please sign in to comment.