@@ -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
<!-- ... -->
@@ -310,7 +315,8 @@ provider, but it's better to think of it as an "in configuration" provider:
310
315
<srv : container xmlns =" http://symfony.com/schema/dic/security"
311
316
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
312
317
xmlns : srv =" http://symfony.com/schema/dic/services"
313
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
318
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
319
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
314
320
315
321
<config >
316
322
<provider name =" in_memory" >
@@ -377,7 +383,8 @@ To fix this, add an ``encoders`` key:
377
383
<srv : container xmlns =" http://symfony.com/schema/dic/security"
378
384
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
379
385
xmlns : srv =" http://symfony.com/schema/dic/services"
380
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
386
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
387
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
381
388
382
389
<config >
383
390
<!-- ... -->
@@ -458,13 +465,16 @@ else, you'll want to encode their passwords. The best algorithm to use is
458
465
<srv : container xmlns =" http://symfony.com/schema/dic/security"
459
466
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
460
467
xmlns : srv =" http://symfony.com/schema/dic/services"
461
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
468
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
469
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
462
470
463
471
<config >
464
472
<!-- ... -->
465
473
466
474
<encoder class =" Symfony\Component\Security\Core\User\User"
467
- algorithm =" bcrypt" cost =" 12" />
475
+ algorithm =" bcrypt"
476
+ cost =" 12" />
477
+
468
478
<!-- ... -->
469
479
</config >
470
480
</srv : container >
@@ -516,7 +526,8 @@ like this:
516
526
<srv : container xmlns =" http://symfony.com/schema/dic/security"
517
527
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
518
528
xmlns : srv =" http://symfony.com/schema/dic/services"
519
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
529
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
530
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
520
531
521
532
<config >
522
533
<provider name =" in_memory" >
@@ -683,7 +694,8 @@ URL pattern. You saw this earlier, where anything matching the regular expressio
683
694
<srv : container xmlns =" http://symfony.com/schema/dic/security"
684
695
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
685
696
xmlns : srv =" http://symfony.com/schema/dic/services"
686
- xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
697
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services
698
+ http://symfony.com/schema/dic/services/services-1.0.xsd" >
687
699
688
700
<config >
689
701
<!-- ... -->
0 commit comments