<?xml version="1.0" encoding="UTF-8" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <service id="fos_user.listener.authentication" class="FOS\UserBundle\EventListener\AuthenticationListener">
            <tag name="kernel.event_subscriber" />
            <argument type="service" id="fos_user.security.login_manager" />
            <argument>%fos_user.firewall_name%</argument>
        </service>
    </services>

</container>
