Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Fix compatibility of ldap 6.0 with security 5.x#45804
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedMar 22, 2022
Hey! I think@karlshea has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
Uh oh!
There was an error while loading.Please reload this page.
wouterj commentedMar 22, 2022
Hmm, I'm wondering how this slipped through the testsuite. Are we missing a compatibility test check here? |
chalasr commentedMar 22, 2022
The LdapAuthenticator is not tested at all. |
6cd65d1 toba3e8e4Compare20cfff2 to5db5381CompareThis PR was merged into the 5.4 branch.Discussion----------[Ldap] Add missing upgrade note for ldap| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | no| Deprecations? | no| Tickets | -| License | MIT| Doc PR | -As suggested in#45804 (comment)Commits-------cd4d655 Add missing upgrade note for ldap
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedMar 23, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
fabpot commentedMar 24, 2022
Thank you@jderusse. |
In version 5.4, the
LdapAuthenticatorclass implements theAuthenticatorInterfaceand therefor implemented the deprecatedcreateAuthenticatedTokenmethod.In version 6.0, we removed that method from both the interface and the
LdapAuthenticatorclass.But the 2 class/interface are located in 2 differents packages, an our composer.json allows the combination
symfony/ldap:6.0+synfony/security-http:5.4. Leading to a fatal errorClass Symfony\Component\Ldap\Security\LdapAuthenticator contains 1 abstract method and must therefore be declared abstract or implement the remaining methodsThis PR re-add the method in the
ldapcomponent.