File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -359,19 +359,24 @@ to service ids that do not exist yet: ``wsse.security.authentication.provider``
359
359
.. code-block :: xml
360
360
361
361
<!-- src/Acme/DemoBundle/Resources/config/services.xml -->
362
- <services >
363
- <service id =" wsse.security.authentication.provider"
364
- class =" Acme\DemoBundle\Security\Authentication\Provider\WsseProvider" public =" false" >
365
- <argument /> <!-- User Provider -->
366
- <argument >%kernel.cache_dir%/security/nonces</argument >
367
- </service >
368
-
369
- <service id =" wsse.security.authentication.listener"
370
- class =" Acme\DemoBundle\Security\Firewall\WsseListener" public =" false" >
371
- <argument type =" service" id =" security.context" />
372
- <argument type =" service" id =" security.authentication.manager" />
373
- </service >
374
- </services >
362
+ <container xmlns =" http://symfony.com/schema/dic/services"
363
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
364
+ xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
365
+
366
+ <services >
367
+ <service id =" wsse.security.authentication.provider"
368
+ class =" Acme\DemoBundle\Security\Authentication\Provider\WsseProvider" public =" false" >
369
+ <argument /> <!-- User Provider -->
370
+ <argument >%kernel.cache_dir%/security/nonces</argument >
371
+ </service >
372
+
373
+ <service id =" wsse.security.authentication.listener"
374
+ class =" Acme\DemoBundle\Security\Firewall\WsseListener" public =" false" >
375
+ <argument type =" service" id =" security.context" />
376
+ <argument type =" service" id =" security.authentication.manager" />
377
+ </service >
378
+ </services >
379
+ </container >
375
380
376
381
.. code-block :: php
377
382
You can’t perform that action at this time.
0 commit comments