You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #42595 Fix incompatibilities with upcoming security 6.0 (wouterj)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
Fix incompatibilities with upcoming security 6.0
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | yes
| Tickets | -
| License | MIT
| Doc PR | -
Hats of to the person that invented the flipped tests on a new major branch! All these incompatibility bugs were discovered by the flipped tests of #41613
Commits
-------
96532e5 [SecurityHttp] Fix incompatibility with 6.0
fb45f6b [SecurityGuard] Fix incompatibility with 6.0
d2a1abf [SecurityBundle] Fix incompatibility with 6.0
4628689 [FrameworkBundle] Fix incompatibility with 6.0
98328ad [SecurityHttp] Fix incompatibility with 6.0
9137242 [PasswordHasher] Fix incompatibility with 6.0
915f75b [MonologBridge] Fix incompatibility with 6.0
0b59bc2 [Security] Minor fixes
Copy file name to clipboardExpand all lines: UPGRADE-6.0.md
+1
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,7 @@ Routing
208
208
Security
209
209
--------
210
210
211
+
* Remove `AuthenticationEvents::AUTHENTICATION_FAILURE`, use the `LoginFailureEvent` instead
211
212
* Remove the `$authenticationEntryPoint` argument of `ChannelListener`
212
213
* Remove `RetryAuthenticationEntryPoint`, this code was inlined in the `ChannelListener`
213
214
* Remove `FormAuthenticationEntryPoint` and `BasicAuthenticationEntryPoint`, the `FormLoginAuthenticator` and `HttpBasicAuthenticator` should be used instead.
trigger_deprecation('symfony/password-hasher', '5.3', 'Returning a string from "getSalt()" without implementing the "%s" interface is deprecated, the "%s" class should implement it.', LegacyPasswordAuthenticatedUserInterface::class, get_debug_type($user));
// @deprecated since Symfony 5.3, change to $provider->loadUserByIdentifier() in 6.0
64
64
if (!method_exists($provider, 'loadUserByIdentifier')) {
65
65
trigger_deprecation('symfony/security-core', '5.3', 'Not implementing method "loadUserByIdentifier()" in user provider "%s" is deprecated. This method will replace "loadUserByUsername()" in Symfony 6.0.', get_debug_type($provider));
if ($salt && !$userinstanceof LegacyPasswordAuthenticatedUserInterface) {
79
79
trigger_deprecation('symfony/security-http', '5.3', 'Returning a string from "getSalt()" without implementing the "%s" interface is deprecated, the "%s" class should implement it.', LegacyPasswordAuthenticatedUserInterface::class, get_debug_type($user));
0 commit comments