<?php

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