@@ -56,14 +56,17 @@ configuration looks like this:
56
56
<srv : container xmlns =" http://symfony.com/schema/dic/security"
57
57
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
58
58
xmlns : srv =" http://symfony.com/schema/dic/services"
59
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
59
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
60
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
60
61
61
62
<config >
62
63
<provider name =" in_memory" >
63
64
<memory />
64
65
</provider >
65
66
66
- <firewall name =" dev" pattern =" ^/(_(profiler|wdt)|css|images|js)/" security =false />
67
+ <firewall name =" dev"
68
+ pattern =" ^/(_(profiler|wdt)|css|images|js)/"
69
+ security =false />
67
70
68
71
<firewall name =" default" >
69
72
<anonymous />
@@ -145,7 +148,8 @@ To activate this, add the ``http_basic`` key under your firewall:
145
148
<srv : container xmlns =" http://symfony.com/schema/dic/security"
146
149
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
147
150
xmlns : srv =" http://symfony.com/schema/dic/services"
148
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
151
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
152
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
149
153
150
154
<config >
151
155
<!-- ... -->
@@ -216,7 +220,8 @@ user to be logged in to access this URL:
216
220
<srv : container xmlns =" http://symfony.com/schema/dic/security"
217
221
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
218
222
xmlns : srv =" http://symfony.com/schema/dic/services"
219
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
223
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
224
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
220
225
221
226
<config >
222
227
<!-- ... -->
@@ -309,7 +314,8 @@ provider, but it's better to think of it as an "in configuration" provider:
309
314
<srv : container xmlns =" http://symfony.com/schema/dic/security"
310
315
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
311
316
xmlns : srv =" http://symfony.com/schema/dic/services"
312
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
317
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
318
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
313
319
314
320
<config >
315
321
<provider name =" in_memory" >
@@ -376,7 +382,8 @@ To fix this, add an ``encoders`` key:
376
382
<srv : container xmlns =" http://symfony.com/schema/dic/security"
377
383
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
378
384
xmlns : srv =" http://symfony.com/schema/dic/services"
379
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
385
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
386
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
380
387
381
388
<config >
382
389
<!-- ... -->
@@ -456,13 +463,16 @@ else, you'll want to encode their passwords. The best algorithm to use is
456
463
<srv : container xmlns =" http://symfony.com/schema/dic/security"
457
464
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
458
465
xmlns : srv =" http://symfony.com/schema/dic/services"
459
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
466
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
467
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
460
468
461
469
<config >
462
470
<!-- ... -->
463
471
464
472
<encoder class =" Symfony\Component\Security\Core\User\User"
465
- algorithm =" bcrypt" cost =" 12" />
473
+ algorithm =" bcrypt"
474
+ cost =" 12" />
475
+
466
476
<!-- ... -->
467
477
</config >
468
478
</srv : container >
@@ -514,7 +524,8 @@ like this:
514
524
<srv : container xmlns =" http://symfony.com/schema/dic/security"
515
525
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
516
526
xmlns : srv =" http://symfony.com/schema/dic/services"
517
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
527
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
528
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
518
529
519
530
<config >
520
531
<provider name =" in_memory" >
@@ -681,7 +692,8 @@ URL pattern. You saw this earlier, where anything matching the regular expressio
681
692
<srv : container xmlns =" http://symfony.com/schema/dic/security"
682
693
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
683
694
xmlns : srv =" http://symfony.com/schema/dic/services"
684
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
695
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
696
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
685
697
686
698
<config >
687
699
<!-- ... -->
0 commit comments