Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ab0dc71

Browse filesBrowse files
advancinguweaverryan
authored andcommitted
Fixed missing XML container for service definition in src/Acme/DemoBundle/Resources/config/services.xml in Configuration section.
1 parent 206d484 commit ab0dc71
Copy full SHA for ab0dc71

File tree

Expand file treeCollapse file tree

1 file changed

+18
-13
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+18
-13
lines changed

‎cookbook/security/custom_authentication_provider.rst

Copy file name to clipboardExpand all lines: cookbook/security/custom_authentication_provider.rst
+18-13Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -359,19 +359,24 @@ to service ids that do not exist yet: ``wsse.security.authentication.provider``
359359
.. code-block:: xml
360360
361361
<!-- 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>
375380
376381
.. code-block:: php
377382

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.