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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy