Skip to content

Commit 17aa62d

Browse files
committed
minor symfony#48427 [Security] Fix deprecated namespace (OskarStark)
This PR was merged into the 6.2 branch. Discussion ---------- [Security] Fix deprecated namespace | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a Follows https://github.com/symfony/symfony/pull/48414/files#r1037108124 cc `@chalasr` Commits ------- 4583978 [Security] Fix deprecated namespace
2 parents c4d19e9 + 4583978 commit 17aa62d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UPGRADE-6.2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ Security
8686
* Add maximum username length enforcement of 4096 characters in `UserBadge` to
8787
prevent [session storage flooding](https://symfony.com/blog/cve-2016-4423-large-username-storage-in-session)
8888
* Deprecate the `Symfony\Component\Security\Core\Security` class and service, use `Symfony\Bundle\SecurityBundle\Security\Security` instead
89-
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::ACCESS_DENIED_ERROR` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::ACCESS_DENIED_ERROR` instead
90-
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::AUTHENTICATION_ERROR` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::AUTHENTICATION_ERROR` instead
91-
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::LAST_USERNAME` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::LAST_USERNAME` instead
92-
* Deprecate the `Symfony\Bundle\SecurityBundle\Security\Security::MAX_USERNAME_LENGTH` property, use `Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge::MAX_USERNAME_LENGTH` instead
89+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security::ACCESS_DENIED_ERROR` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::ACCESS_DENIED_ERROR` instead
90+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security::AUTHENTICATION_ERROR` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::AUTHENTICATION_ERROR` instead
91+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security::LAST_USERNAME` property, use `Symfony\Component\Security\Http\SecurityRequestAttributes::LAST_USERNAME` instead
92+
* Deprecate the `Symfony\Bundle\SecurityBundle\Security::MAX_USERNAME_LENGTH` property, use `Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge::MAX_USERNAME_LENGTH` instead
9393
* Passing empty username or password parameter when using `JsonLoginAuthenticator` is not supported anymore
9494
* Add `$lifetime` parameter to `LoginLinkHandlerInterface::createLoginLink()`
9595
* Change the signature of `TokenStorageInterface::setToken()` to `setToken(?TokenInterface $token)`

0 commit comments

Comments
 (0)