Skip to content

Symfony 2.8 [Security] Configuring a user checker per firewall #164

@maximechagnolleau

Description

@maximechagnolleau

Since Symfony 2.8, you get the following error when using LdapBundle:

[Symfony\Component\Debug\Exception\ContextErrorException]
Catchable Fatal Error: Argument 2 passed to Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider::__construct() must be an instance of Symfony\Component\Security\Core\User\UserCheckerInterface, string
given, called in C:\projets\portail-bv\app\cache\dev\appDevDebugProjectContainer.php on line 1483 and defined

I think, it's related to this new feature:

  • feature #14721 [Security] Configuring a user checker per firewall (iltar)

Does this error is confirmed ?
Any idea to fix it ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions