private function formLoginAuthenticator(ContainerBuilder $container, $routes, $user)
    {
        $container->setDefinition(
            'bengor.user_bundle.security.authenticator.form_login_' . $user . '_authenticator',
            new Definition(
                FormLoginAuthenticator::class, [
                    $container->getDefinition('router.default'),
                    $container->getDefinition('bengor_user.' . $user . '.command_bus'),
                    [
                        'login'                     => $routes[$user]['login']['name'],
                        'login_check'               => $routes[$user]['login_check']['name'],
                        'success_redirection_route' => $routes[$user]['success_redirection_route'],
                    ],
                ]
            )
        )->setPublic(false);

        $container->setAlias(
            'bengor_user.' . $user . '.form_login_authenticator',
            'bengor.user_bundle.security.authenticator.form_login_' . $user . '_authenticator'
        );
    }