This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/SecurityBundle
Robin Chalas e1f7b7886e bug #34759 [SecurityBundle] Fix switch_user provider configuration handling (fancyweb)
This PR was merged into the 4.4 branch.

Discussion
----------

[SecurityBundle] Fix switch_user provider configuration handling

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

The default provider here can be null if there are multiple configured providers configured + the firewall doesn't define its provider at the root level + it is anonymous, ie:
```yaml
providers:
    my_provider:
        # ...
    monitor_provider:
        # ...
firewalls:
    main:
        switch_user:
            provider: my_provider
        anonymous: true
        # ...
```

Commits
-------

417169b745 [SecurityBundle] Fix switch_user provider configuration handling
2019-12-03 21:51:34 +01:00
..
CacheWarmer fixed CS 2019-01-16 19:35:49 +01:00
Command Add types to constructors and private/final/internal methods (Batch III) 2019-10-07 13:33:25 +02:00
DataCollector Fix some \Throwable support remaining issues 2019-11-12 18:18:47 +01:00
Debug [Security/Http] call auth listeners/guards eagerly when they "support" the request 2019-11-30 10:49:41 +01:00
DependencyInjection bug #34759 [SecurityBundle] Fix switch_user provider configuration handling (fancyweb) 2019-12-03 21:51:34 +01:00
EventListener Add return types to internal|final|private methods 2019-08-20 17:32:53 +02:00
Resources [Security/Http] call auth listeners/guards eagerly when they "support" the request 2019-11-30 10:49:41 +01:00
Security [Security/Http] call auth listeners/guards eagerly when they "support" the request 2019-11-30 10:49:41 +01:00
Templating/Helper [Templating] added more deprecation 2019-03-19 18:56:32 +01:00
Tests [SecurityBundle] Fix switch_user provider configuration handling 2019-12-02 17:24:17 +01:00
.gitattributes Add .gitignore to .gitattributes 2019-10-12 01:35:04 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [Security] Add migrating encoder configuration 2019-11-09 11:20:37 +01:00
composer.json Merge branch '3.4' into 4.3 2019-11-30 14:16:45 +01:00
LICENSE update year in license files 2019-01-01 14:45:19 +01:00
phpunit.xml.dist Bump phpunit XSD version to 5.2 2018-11-11 12:18:13 +01:00
README.md add readme files where missing 2016-03-07 11:36:15 +01:00
SecurityBundle.php [EventDispatcher] A compiler pass for aliased userland events. 2019-10-04 13:01:02 +02:00
SecurityUserValueResolver.php Add return types to tests and final|internal|private methods 2019-08-21 17:14:41 +02:00