Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
maximechagnolleau opened this issue Dec 22, 2015 · 5 comments
Open

Comments

@maximechagnolleau
Copy link

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 !

@Yoda-BZH
Copy link

Fixes the problem for me.
Thanks !

@javiermadueno
Copy link

For me too!
Thanks

@mablae
Copy link

mablae commented May 18, 2016

Same problem here!

@maximechagnolleau
Copy link
Author

I proposed a solution here: #165

Hope that helps you !

@mablae
Copy link

mablae commented May 18, 2016

@maximechagnolleau I depend on your master in production now :-) Works fine as far I can say.
What about the comments

Joke aside, it would be great to get @maximechagnolleau PR merged, even if the lib has no future it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants