aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/WallabagCoreBundle.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/WallabagCoreBundle.php')
-rw-r--r--src/Wallabag/CoreBundle/WallabagCoreBundle.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/WallabagCoreBundle.php b/src/Wallabag/CoreBundle/WallabagCoreBundle.php
index f5899e39..1deab03a 100644
--- a/src/Wallabag/CoreBundle/WallabagCoreBundle.php
+++ b/src/Wallabag/CoreBundle/WallabagCoreBundle.php
@@ -3,7 +3,16 @@
3namespace Wallabag\CoreBundle; 3namespace Wallabag\CoreBundle;
4 4
5use Symfony\Component\HttpKernel\Bundle\Bundle; 5use Symfony\Component\HttpKernel\Bundle\Bundle;
6use Wallabag\CoreBundle\DependencyInjection\Security\Factory\WsseFactory;
7use Symfony\Component\DependencyInjection\ContainerBuilder;
6 8
7class WallabagCoreBundle extends Bundle 9class WallabagCoreBundle extends Bundle
8{ 10{
11 public function build(ContainerBuilder $container)
12 {
13 parent::build($container);
14
15 $extension = $container->getExtension('security');
16 $extension->addSecurityListenerFactory(new WsseFactory());
17 }
9} 18}