imports:
    - { resource: ./../config/framework.yml }

security:
    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    providers:
        in_memory:
            memory:
                users:
                    johannes: { password: test, roles: [ROLE_USER] }

    firewalls:
        default:
            form_login:
                check_path: login
                remember_me: true
            remember_me:
                always_remember_me: true
                secret: key
            anonymous: ~

    access_control:
        - { path: ^/foo, roles: ROLE_USER }

services:
    Symfony\Bundle\SecurityBundle\Tests\Functional\RememberMeUserProvider:
        public: true
        decorates: security.user.provider.concrete.in_memory
        arguments: ['@Symfony\Bundle\SecurityBundle\Tests\Functional\RememberMeUserProvider.inner']
