|
32 | 32 | return static function (ContainerConfigurator $container) {
|
33 | 33 | $container->services()
|
34 | 34 |
|
| 35 | + ->set('security.authentication.basic_entry_point', BasicAuthenticationEntryPoint::class) |
| 36 | + ->deprecate('symfony/security-bundle', '5.4', 'The "%service_id%" service is deprecated, the logic is contained in the authenticators.') |
| 37 | + |
35 | 38 | ->set('security.authentication.retry_entry_point', RetryAuthenticationEntryPoint::class)
|
| 39 | + ->deprecate('symfony/security-bundle', '5.4', 'The "%service_id%" service is deprecated, the logic is integrated directly in "security.channel_listener".') |
36 | 40 | ->args([
|
37 | 41 | inline_service('int')->factory([service('router.request_context'), 'getHttpPort']),
|
38 | 42 | inline_service('int')->factory([service('router.request_context'), 'getHttpsPort']),
|
39 | 43 | ])
|
40 | 44 |
|
41 |
| - ->set('security.authentication.basic_entry_point', BasicAuthenticationEntryPoint::class) |
42 |
| - |
43 | 45 | ->set('security.channel_listener', ChannelListener::class)
|
44 | 46 | ->args([
|
45 | 47 | service('security.access_map'),
|
46 |
| - service('security.authentication.retry_entry_point'), |
47 | 48 | service('logger')->nullOnInvalid(),
|
| 49 | + inline_service('int')->factory([service('router.request_context'), 'getHttpPort']), |
| 50 | + inline_service('int')->factory([service('router.request_context'), 'getHttpsPort']), |
48 | 51 | ])
|
49 | 52 | ->tag('monolog.logger', ['channel' => 'security'])
|
50 | 53 |
|
|
0 commit comments