minor #27406 [Security] Add missing upgrade note about GuardAuthenticationListener-related deprecation (DonCallisto)
This PR was merged into the 3.4 branch.
Discussion
----------
[Security] Add missing upgrade note about GuardAuthenticationListener-related deprecation
| Q | A
| ------------- | ---
| Branch? | 4.0
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | yes
| Tests pass? |
| Fixed tickets |
| License | MIT
| Doc PR |
This https://github.com/symfony/symfony/blob/3.4/src/Symfony/Component/Security/Guard/Firewall/GuardAuthenticationListener.php#L127 was not reported.
Commits
-------
c09ca94a28
Update UPGRADE-4.0.md
This commit is contained in:
commit
1356fe7b58
@ -345,6 +345,9 @@ Security
|
|||||||
* The `GuardAuthenticatorInterface` has been deprecated and will be removed in 4.0.
|
* The `GuardAuthenticatorInterface` has been deprecated and will be removed in 4.0.
|
||||||
Use `AuthenticatorInterface` instead.
|
Use `AuthenticatorInterface` instead.
|
||||||
|
|
||||||
|
* When extending `AbstractGuardAuthenticator` it's deprecated to return `null` from `getCredentials()`.
|
||||||
|
Return `false` from `supports()` if no credentials available.
|
||||||
|
|
||||||
SecurityBundle
|
SecurityBundle
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -759,6 +759,9 @@ Security
|
|||||||
* The `GuardAuthenticatorInterface` interface has been removed.
|
* The `GuardAuthenticatorInterface` interface has been removed.
|
||||||
Use `AuthenticatorInterface` instead.
|
Use `AuthenticatorInterface` instead.
|
||||||
|
|
||||||
|
* When extending `AbstractGuardAuthenticator` getCredentials() cannot return
|
||||||
|
`null` anymore, return false from `supports()` if no credentials available instead.
|
||||||
|
|
||||||
SecurityBundle
|
SecurityBundle
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@ CHANGELOG
|
|||||||
* deprecated HTTP digest authentication
|
* deprecated HTTP digest authentication
|
||||||
* Added a new password encoder for the Argon2i hashing algorithm
|
* Added a new password encoder for the Argon2i hashing algorithm
|
||||||
* deprecated `GuardAuthenticatorInterface` in favor of `AuthenticatorInterface`
|
* deprecated `GuardAuthenticatorInterface` in favor of `AuthenticatorInterface`
|
||||||
|
* deprecated to return `null` from `getCredentials()` in classes that extend
|
||||||
|
`AbstractGuardAuthenticator`. Return `false` from `supports()` instead.
|
||||||
|
|
||||||
3.3.0
|
3.3.0
|
||||||
-----
|
-----
|
||||||
|
Reference in New Issue
Block a user