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">