12345678910111213141516171819202122232425262728293031323334 |
- <?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">
- <parameters>
- <parameter key="fos_user.security.interactive_login_listener.class">FOS\UserBundle\Security\InteractiveLoginListener</parameter>
- <parameter key="fos_user.security.login_manager.class">FOS\UserBundle\Security\LoginManager</parameter>
- </parameters>
- <services>
- <service id="fos_user.security.interactive_login_listener" class="%fos_user.security.interactive_login_listener.class%">
- <argument type="service" id="fos_user.user_manager" />
- <tag name="kernel.event_listener" event="security.interactive_login" method="onSecurityInteractiveLogin" />
- </service>
- <service id="fos_user.security.login_manager" class="%fos_user.security.login_manager.class%">
- <argument type="service" id="security.context" />
- <argument type="service" id="security.user_checker" />
- <argument type="service" id="security.authentication.session_strategy" />
- <argument type="service" id="service_container" />
- </service>
- <service id="fos_user.user_provider.username" class="FOS\UserBundle\Security\UserProvider" public="false">
- <argument type="service" id="fos_user.user_manager" />
- </service>
- <service id="fos_user.user_provider.username_email" class="FOS\UserBundle\Security\EmailUserProvider" public="false">
- <argument type="service" id="fos_user.user_manager" />
- </service>
- </services>
- </container>
|