mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-01 12:28:41 +00:00
18 lines
492 B
PHP
18 lines
492 B
PHP
<?php
|
|
|
|
namespace Wallabag\ApiBundle;
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Wallabag\ApiBundle\DependencyInjection\Security\Factory\WsseFactory;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
|
|
class WallabagApiBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
|
|
$extension = $container->getExtension('security');
|
|
$extension->addSecurityListenerFactory(new WsseFactory());
|
|
}
|
|
}
|