Skip to content

[HttpKernel] [Security] Multiple kernel.reset tags #34606

@rmikalkenas

Description

@rmikalkenas

Symfony version(s) affected: 4.4.0, possible 5.0 (not tested)

Description
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage is tagged with multiple kernel.reset tags, but current implementation of ResettableServicePass only allows single tag per service. In consequence UsageTrackingTokenStorage <tag name="kernel.reset" method="setToken" /> is not working anymore and leads to some unexpected behaviours.

Possible Solution
Fix ResettableServicePass and ServicesResetter services to allow multiple methods per service.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions