Skip to content

Commit 7937864

Browse files
committed
minor #3927 [Cookbook][Security] Explicit 'your_user_provider' configuration parameter (zefrog)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook][Security] Explicit 'your_user_provider' configuration parameter Following @weaverryan #3921 first improvement, I've added a few lines to the bottom note of the article, to be more precise about the ``provider`` configuration key. Commits ------- 0f0376f #3921 - explicit 'your_user_provider' configuration parameter
2 parents 26d00d0 + 0f0376f commit 7937864

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cookbook/security/pre_authenticated.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ in the x509 firewall configuration respectively.
7070

7171
An authentication provider will only inform the user provider of the username
7272
that made the request. You will need to create (or use) a "user provider" that
73-
turns that username into a User object of your choice:
73+
is referenced by the ``provider`` configuration parameter (``your_user_provider``
74+
in the configuration example). This provider will turn the username into a User
75+
object of your choice. For more information on creating or configuring a user
76+
provider, see:
7477

7578
* :doc:`/cookbook/security/custom_provider`
7679
* :doc:`/cookbook/security/entity_provider`

0 commit comments

Comments
 (0)