File tree 1 file changed +1
-9
lines changed
Filter options
src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler
1 file changed +1
-9
lines changed
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \SecurityBundle \DependencyInjection \Compiler ;
13
13
14
- use Symfony \Bridge \Monolog \Processor \ProcessorInterface ;
15
- use Symfony \Component \DependencyInjection \Argument \BoundArgument ;
16
14
use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
17
15
use Symfony \Component \DependencyInjection \ContainerBuilder ;
18
16
use Symfony \Component \DependencyInjection \Reference ;
19
- use Symfony \Component \Security \Core \Authentication \Token \Storage \TokenStorageInterface ;
20
17
21
18
/**
22
- * Injects the session tracker enabler in "security.context_listener" + binds "security.untracked_token_storage" to ProcessorInterface instances.
19
+ * Injects the session tracker enabler in "security.context_listener"
23
20
*
24
21
* @author Nicolas Grekas <p@tchwork.com>
25
22
*
@@ -36,11 +33,6 @@ public function process(ContainerBuilder $container)
36
33
return ;
37
34
}
38
35
39
- $ processorAutoconfiguration = $ container ->registerForAutoconfiguration (ProcessorInterface::class);
40
- $ processorAutoconfiguration ->setBindings ($ processorAutoconfiguration ->getBindings () + [
41
- TokenStorageInterface::class => new BoundArgument (new Reference ('security.untracked_token_storage ' ), false ),
42
- ]);
43
-
44
36
if (!$ container ->has ('session.factory ' )) {
45
37
$ container ->setAlias ('security.token_storage ' , 'security.untracked_token_storage ' )->setPublic (true );
46
38
$ container ->getDefinition ('security.untracked_token_storage ' )->addTag ('kernel.reset ' , ['method ' => 'reset ' ]);
You can’t perform that action at this time.
0 commit comments