@@ -174,11 +174,11 @@ Now you make the user provider available as a service. If you're using the
174174:ref: `default services.yaml configuration <service-container-services-load-example >`,
175175this happens automatically.
176176
177- Modify ``security.yml ``
178- -----------------------
177+ Modify ``security.yaml ``
178+ ------------------------
179179
180180Everything comes together in your security configuration. Add the user provider
181- to the list of providers in the "security" section . Choose a name for the user provider
181+ to the list of providers in the "security" config . Choose a name for the user provider
182182(e.g. "webservice") and mention the ``id `` of the service you just defined.
183183
184184.. configuration-block ::
@@ -195,7 +195,7 @@ to the list of providers in the "security" section. Choose a name for the user p
195195
196196 .. code-block :: xml
197197
198- <!-- app/ config/security.xml -->
198+ <!-- config/packages /security.xml -->
199199 <?xml version =" 1.0" encoding =" UTF-8" ?>
200200 <srv : container xmlns =" http://symfony.com/schema/dic/security"
201201 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -242,7 +242,7 @@ users, e.g. by filling in a login form. You can do this by adding a line to the
242242
243243 .. code-block :: xml
244244
245- <!-- app/ config/security.xml -->
245+ <!-- config/packages /security.xml -->
246246 <?xml version =" 1.0" encoding =" UTF-8" ?>
247247 <srv : container xmlns =" http://symfony.com/schema/dic/security"
248248 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -282,7 +282,7 @@ is compared to the hashed password returned by your ``getPassword()`` method.
282282 Symfony uses a specific method to combine the salt and encode the password
283283 before comparing it to your encoded password. If ``getSalt() `` returns
284284 nothing, then the submitted password is simply encoded using the algorithm
285- you specify in ``security.yml ``. If a salt *is * specified, then the following
285+ you specify in ``security.yaml ``. If a salt *is * specified, then the following
286286 value is created and *then * hashed via the algorithm::
287287
288288 $password.'{'.$salt.'}'
@@ -312,7 +312,7 @@ is compared to the hashed password returned by your ``getPassword()`` method.
312312
313313 .. code-block :: xml
314314
315- <!-- app/ config/security.xml -->
315+ <!-- config/packages /security.xml -->
316316 <?xml version =" 1.0" encoding =" UTF-8" ?>
317317 <srv : container xmlns =" http://symfony.com/schema/dic/security"
318318 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
0 commit comments