<?php

$container->loadFromExtension('security', [
    'enable_authenticator_manager' => true,
    'access_decision_manager' => [
        'service' => 'app.access_decision_manager',
        'strategy' => 'affirmative',
    ],
    'providers' => [
        'default' => [
            'memory' => [
                'users' => [
                    'foo' => ['password' => 'foo', 'roles' => 'ROLE_USER'],
                ],
            ],
        ],
    ],
    'firewalls' => [
        'simple' => ['pattern' => '/login', 'security' => false],
    ],
]);
