Skip to content

Commit 069bffb

Browse files
committed
minor #6423 Added a caution note about REMOTE_USER and user impersonation (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
2 parents fd7b6b1 + fbcfbb4 commit 069bffb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cookbook/security/pre_authenticated.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,10 @@ key in the ``remote_user`` firewall configuration.
151151
Just like for X509 authentication, you will need to configure a "user provider".
152152
See :ref:`the previous note <cookbook-security-pre-authenticated-user-provider-note>`
153153
for more information.
154+
155+
.. caution::
156+
157+
:doc:`User impersonation </cookbook/security/impersonating_user>` is not
158+
compatible with ``REMOTE_USER`` based authentication. The reason is that
159+
impersonation requires the authentication state to be maintained server-side
160+
but ``REMOTE_USER`` information is sent by the browser in each request.

0 commit comments

Comments
 (0)