From 54eda151c942ec93e24f59757e2a2c59365a5737 Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sat, 10 Jan 2015 12:36:07 +0200 Subject: [PATCH] Update security.rst | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- book/security.rst | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/book/security.rst b/book/security.rst index ce3e19b3bff..e7d949ea1ca 100644 --- a/book/security.rst +++ b/book/security.rst @@ -56,14 +56,17 @@ configuration looks like this: + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd"> - + @@ -150,7 +153,8 @@ To activate this, add the ``http_basic`` key under your firewall: + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd"> @@ -221,7 +225,8 @@ user to be logged in to access this URL: + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd"> @@ -314,7 +319,8 @@ provider, but it's better to think of it as an "in configuration" provider: + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd"> @@ -381,7 +387,8 @@ To fix this, add an ``encoders`` key: + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd"> @@ -461,13 +468,16 @@ else, you'll want to encode their passwords. The best algorithm to use is + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd"> + algorithm="bcrypt" + cost="12" /> + @@ -519,7 +529,8 @@ like this: + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd"> @@ -689,7 +700,8 @@ URL pattern. You saw this earlier, where anything matching the regular expressio + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd">