Skip to content

Commit 4c0ceb7

Browse files
committed
minor #17442 Adding more info about chain provider (ThomasLandauer)
This PR was merged into the 5.4 branch. Discussion ---------- Adding more info about chain provider Reason: The info that this is the way to go if you need *multiple* providers was lost somehow since v4.4: https://symfony.com/doc/4.0/security/multiple_user_providers.html The wording is mostly taken from there. Commits ------- d23bba2 Adding more info about chain provider
2 parents f9577a7 + d23bba2 commit 4c0ceb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

security.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ Symfony comes with several built-in user providers:
351351
Loads users from a configuration file;
352352
:ref:`Chain User Provider <security-chain-user-provider>`
353353
Merges two or more user providers into a new user provider.
354+
Since each firewall has exactly *one* user provider, you can use this
355+
to chain multiple providers together.
354356

355357
The built-in user providers cover the most common needs for applications, but you
356358
can also create your own :ref:`custom user provider <security-custom-user-provider>`.

0 commit comments

Comments
 (0)