forked from wallabag/wallabag
first implementation of security
This commit is contained in:
@ -5,13 +5,25 @@
|
||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
|
||||
<services>
|
||||
<!-- Twig -->
|
||||
<service id="wallabag_core.twig.wallabag" class="Wallabag\CoreBundle\Twig\Extension\WallabagExtension">
|
||||
<tag name="twig.extension" />
|
||||
</service>
|
||||
|
||||
<!-- Security -->
|
||||
<service id="wsse.security.authentication.provider"
|
||||
class="Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider" public="false">
|
||||
<argument /> <!-- User Provider -->
|
||||
<argument>%kernel.cache_dir%/security/nonces</argument>
|
||||
</service>
|
||||
|
||||
<service id="wsse.security.authentication.listener"
|
||||
class="Wallabag\CoreBundle\Security\Firewall\WsseListener" public="false">
|
||||
<argument type="service" id="security.context"/>
|
||||
<argument type="service" id="security.authentication.manager" />
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
|
||||
</container>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user