8000 [Security] Method "GuardAuthenticationListener::setSessionAuthenticationStrategy()" does not exist · Issue #27577 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Security] Method "GuardAuthenticationListener::setSessionAuthenticationStrategy()" does not exist #27577
Closed
@derrabus

Description

@derrabus

Symfony version(s) affected: 2.8.42-dev, 3.4.12-dev

Description
Applications configuring a guard authenticator exit with an exception after upgrading to the HEAD of the 2.8/3.4 branch.

In AbstractRecursivePass.php line 162:

  [Symfony\Component\DependencyInjection\Exception\RuntimeException]
  Invalid service "security.authentication.listener.guard.main": method "Symfony\Component\Securit
  y\Guard\Firewall\GuardAuthenticationListener::setSessionAuthenticationStrategy()" does not exist
  .

How to reproduce
Just configure any guard authenticator on a new Symfony project.

Additional context
bildschirmfoto 2018-06-11 um 18 44 04

bildschirmfoto 2018-06-11 um 19 53 58

If you downgrade symfony/symfony to 2.8.41/3.4.11, everything's fine again.

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

      0