+ #Register Authentication success handler
+ security.authentication.success_handler:
+ class: 'Rapsys\UserBundle\Handler\AuthenticationSuccessHandler'
+ arguments: [ '@router', {} ]
+ #Register logout success handler
+ security.logout.success_handler:
+ class: 'Rapsys\UserBundle\Handler\LogoutSuccessHandler'
+ arguments: [ '@service_container', '/', '@router' ]