Skip to content

Commit

Permalink
minor #3927 [Cookbook][Security] Explicit 'your_user_provider' config…
Browse files Browse the repository at this point in the history
…uration 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
  • Loading branch information
weaverryan committed Jun 11, 2014
2 parents 26d00d0 + 0f0376f commit 7937864
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cookbook/security/pre_authenticated.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ in the x509 firewall configuration respectively.

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

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

0 comments on commit 7937864

Please sign in to comment.