From 2e0e07322421673e2fb85179dbe6894f0224bd10 Mon Sep 17 00:00:00 2001 From: Panz Date: Tue, 3 Mar 2015 17:58:42 +0100 Subject: [PATCH 1/2] Add a link to Multiple User Providers Add a link to "Multiple User Providers" setup (cookbook recipe) where the "providers" parameter is described, this could help readers by having a contextualized reference to the recipe. --- book/security.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/security.rst b/book/security.rst index cb383cfa7d9..12a54fa9b16 100644 --- a/book/security.rst +++ b/book/security.rst @@ -361,6 +361,8 @@ Like with ``firewalls``, you can have multiple ``providers``, but you'll probably only need one. If you *do* have multiple, you can configure which *one* provider to use for your firewall under its ``provider`` key (e.g. ``provider: in_memory``). +See :doc:`/cookbook/security/multiple_user_providers` for all the details +about multiple providers setup. Try to login using username ``admin`` and password ``kitten``. You should see an error! From 8b2a56694cb2da4955bc10cfb4c6e8f09cd2d6a7 Mon Sep 17 00:00:00 2001 From: Panz Date: Tue, 3 Mar 2015 21:40:27 +0100 Subject: [PATCH 2/2] Update security.rst Restructured reference by using "seealso::" directive --- book/security.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/book/security.rst b/book/security.rst index 12a54fa9b16..2eb1500cbd6 100644 --- a/book/security.rst +++ b/book/security.rst @@ -361,8 +361,11 @@ Like with ``firewalls``, you can have multiple ``providers``, but you'll probably only need one. If you *do* have multiple, you can configure which *one* provider to use for your firewall under its ``provider`` key (e.g. ``provider: in_memory``). -See :doc:`/cookbook/security/multiple_user_providers` for all the details -about multiple providers setup. + +.. seealso:: + + See :doc:`/cookbook/security/multiple_user_providers` for + all the details about multiple providers setup. Try to login using username ``admin`` and password ``kitten``. You should see an error!