From a2f5693c5e36df0f6d4af5ff9f5f994758907c2f Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Wed, 14 Apr 2021 10:40:21 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20experimental=20flag=20from=20the=20aut?= =?UTF-8?q?henticator=20system=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Symfony/Bundle/SecurityBundle/CHANGELOG.md | 1 + .../Security/Factory/AuthenticatorFactoryInterface.php | 2 -- .../Security/Factory/CustomAuthenticatorFactory.php | 1 - .../RememberMe/FirewallAwareRememberMeHandler.php | 2 -- .../Bundle/SecurityBundle/Security/UserAuthenticator.php | 1 - src/Symfony/Component/Ldap/CHANGELOG.md | 1 + src/Symfony/Component/Ldap/Security/LdapAuthenticator.php | 1 - src/Symfony/Component/Ldap/Security/LdapBadge.php | 1 - src/Symfony/Component/Security/CHANGELOG.md | 1 + .../Security/Core/Signature/ExpiredSignatureStorage.php | 2 -- .../Security/Http/Authentication/AuthenticatorManager.php | 2 -- .../Http/Authentication/AuthenticatorManagerInterface.php | 2 -- .../Http/Authentication/UserAuthenticatorInterface.php | 2 -- .../Security/Http/Authenticator/AbstractAuthenticator.php | 2 -- .../Http/Authenticator/AbstractLoginFormAuthenticator.php | 2 -- .../Authenticator/AbstractPreAuthenticatedAuthenticator.php | 1 - .../Security/Http/Authenticator/AuthenticatorInterface.php | 2 -- .../Security/Http/Authenticator/FormLoginAuthenticator.php | 3 --- .../Security/Http/Authenticator/HttpBasicAuthenticator.php | 3 --- .../Security/Http/Authenticator/JsonLoginAuthenticator.php | 3 --- .../Http/Authenticator/Passport/Badge/BadgeInterface.php | 2 -- .../Http/Authenticator/Passport/Badge/CsrfTokenBadge.php | 1 - .../Authenticator/Passport/Badge/PasswordUpgradeBadge.php | 1 - .../Passport/Badge/PreAuthenticatedUserBadge.php | 1 - .../Http/Authenticator/Passport/Badge/RememberMeBadge.php | 1 - .../Security/Http/Authenticator/Passport/Badge/UserBadge.php | 4 +--- .../Passport/Credentials/CredentialsInterface.php | 2 -- .../Authenticator/Passport/Credentials/CustomCredentials.php | 1 - .../Passport/Credentials/PasswordCredentials.php | 1 - .../Security/Http/Authenticator/Passport/Passport.php | 2 -- .../Http/Authenticator/Passport/PassportInterface.php | 2 -- .../Security/Http/Authenticator/Passport/PassportTrait.php | 2 -- .../Http/Authenticator/Passport/SelfValidatingPassport.php | 2 -- .../Http/Authenticator/Passport/UserPassportInterface.php | 2 -- .../Security/Http/Authenticator/X509Authenticator.php | 1 - .../Security/Http/EventListener/CheckCredentialsListener.php | 1 - .../Http/EventListener/CheckRememberMeConditionsListener.php | 1 - .../Security/Http/EventListener/CsrfProtectionListener.php | 1 - .../Security/Http/EventListener/LoginThrottlingListener.php | 2 -- .../Security/Http/EventListener/PasswordMigratingListener.php | 1 - .../Security/Http/EventListener/RememberMeListener.php | 1 - .../Security/Http/EventListener/UserCheckerListener.php | 1 - .../Security/Http/EventListener/UserProviderListener.php | 1 - .../Security/Http/Firewall/AuthenticatorManagerListener.php | 2 -- .../Security/Http/RateLimiter/DefaultLoginRateLimiter.php | 2 -- .../Security/Http/RememberMe/AbstractRememberMeHandler.php | 2 -- .../Security/Http/RememberMe/PersistentRememberMeHandler.php | 2 -- .../Component/Security/Http/RememberMe/RememberMeDetails.php | 2 -- .../Security/Http/RememberMe/RememberMeHandlerInterface.php | 2 -- .../Security/Http/RememberMe/SignatureRememberMeHandler.php | 2 -- 50 files changed, 4 insertions(+), 79 deletions(-) diff --git a/src/Symfony/Bundle/SecurityBundle/CHANGELOG.md b/src/Symfony/Bundle/SecurityBundle/CHANGELOG.md index 3210a3b5df..5f6b97b719 100644 --- a/src/Symfony/Bundle/SecurityBundle/CHANGELOG.md +++ b/src/Symfony/Bundle/SecurityBundle/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 5.3 --- + * The authenticator system is no longer experimental * Login Link functionality is no longer experimental * Add `required_badges` firewall config option * [BC break] Add `login_throttling.lock_factory` setting defaulting to `null` (instead of `lock.factory`) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AuthenticatorFactoryInterface.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AuthenticatorFactoryInterface.php index 35921dd194..d4fef81e24 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AuthenticatorFactoryInterface.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/AuthenticatorFactoryInterface.php @@ -15,8 +15,6 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; /** * @author Wouter de Jong - * - * @experimental in 5.3 */ interface AuthenticatorFactoryInterface { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php index 4ebd8a0344..a478de2c8d 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php @@ -19,7 +19,6 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; * @author Wouter de Jong * * @internal - * @experimental in 5.3 */ class CustomAuthenticatorFactory implements AuthenticatorFactoryInterface, SecurityFactoryInterface { diff --git a/src/Symfony/Bundle/SecurityBundle/RememberMe/FirewallAwareRememberMeHandler.php b/src/Symfony/Bundle/SecurityBundle/RememberMe/FirewallAwareRememberMeHandler.php index 14252662b8..ca7450f2d9 100644 --- a/src/Symfony/Bundle/SecurityBundle/RememberMe/FirewallAwareRememberMeHandler.php +++ b/src/Symfony/Bundle/SecurityBundle/RememberMe/FirewallAwareRememberMeHandler.php @@ -23,8 +23,6 @@ use Symfony\Component\Security\Http\RememberMe\RememberMeHandlerInterface; * Decorates {@see RememberMeHandlerInterface} for the current firewall. * * @author Wouter de Jong - * - * @experimental in 5.3 */ final class FirewallAwareRememberMeHandler implements RememberMeHandlerInterface { diff --git a/src/Symfony/Bundle/SecurityBundle/Security/UserAuthenticator.php b/src/Symfony/Bundle/SecurityBundle/Security/UserAuthenticator.php index 4ca7e15ddb..174f1d015e 100644 --- a/src/Symfony/Bundle/SecurityBundle/Security/UserAuthenticator.php +++ b/src/Symfony/Bundle/SecurityBundle/Security/UserAuthenticator.php @@ -26,7 +26,6 @@ use Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class UserAuthenticator implements UserAuthenticatorInterface { diff --git a/src/Symfony/Component/Ldap/CHANGELOG.md b/src/Symfony/Component/Ldap/CHANGELOG.md index 4f73e6e209..7e3553886c 100644 --- a/src/Symfony/Component/Ldap/CHANGELOG.md +++ b/src/Symfony/Component/Ldap/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 5.3 --- + * The authenticator system is no longer experimental * Added caseSensitive option for attribute keys in the Entry class. 5.1.0 diff --git a/src/Symfony/Component/Ldap/Security/LdapAuthenticator.php b/src/Symfony/Component/Ldap/Security/LdapAuthenticator.php index 80ac7f9010..30928f6227 100644 --- a/src/Symfony/Component/Ldap/Security/LdapAuthenticator.php +++ b/src/Symfony/Component/Ldap/Security/LdapAuthenticator.php @@ -28,7 +28,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface; * @author Wouter de Jong * * @final - * @experimental in 5.1 */ class LdapAuthenticator implements AuthenticatorInterface { diff --git a/src/Symfony/Component/Ldap/Security/LdapBadge.php b/src/Symfony/Component/Ldap/Security/LdapBadge.php index db2584f032..0859fe9a61 100644 --- a/src/Symfony/Component/Ldap/Security/LdapBadge.php +++ b/src/Symfony/Component/Ldap/Security/LdapBadge.php @@ -21,7 +21,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface; * @author Wouter de Jong * * @final - * @experimental in 5.1 */ class LdapBadge implements BadgeInterface { diff --git a/src/Symfony/Component/Security/CHANGELOG.md b/src/Symfony/Component/Security/CHANGELOG.md index 30d1692006..87112deffa 100644 --- a/src/Symfony/Component/Security/CHANGELOG.md +++ b/src/Symfony/Component/Security/CHANGELOG.md @@ -6,6 +6,7 @@ The CHANGELOG for version 5.4 and newer can be found in the security sub-package 5.3 --- + * The authenticator system is no longer experimental * Login Link functionality is no longer experimental * Add `RememberMeConditionsListener` to check if remember me is requested and supported, and set priority of `RememberMeListener` to -63 * Add `RememberMeHandlerInterface` and implementations, used as a replacement of `RememberMeServicesInterface` when using the AuthenticatorManager diff --git a/src/Symfony/Component/Security/Core/Signature/ExpiredSignatureStorage.php b/src/Symfony/Component/Security/Core/Signature/ExpiredSignatureStorage.php index e5b9f9007d..5421c77e89 100644 --- a/src/Symfony/Component/Security/Core/Signature/ExpiredSignatureStorage.php +++ b/src/Symfony/Component/Security/Core/Signature/ExpiredSignatureStorage.php @@ -16,8 +16,6 @@ use Psr\Cache\CacheItemPoolInterface; /** * @author Ryan Weaver * - * @experimental in 5.2 - * * @final */ final class ExpiredSignatureStorage diff --git a/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManager.php b/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManager.php index 81df36df8a..539cc8ee10 100644 --- a/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManager.php +++ b/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManager.php @@ -39,8 +39,6 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; * @author Wouter de Jong * @author Ryan Weaver * @author Amaury Leroux de Lens - * - * @experimental in 5.3 */ class AuthenticatorManager implements AuthenticatorManagerInterface, UserAuthenticatorInterface { diff --git a/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManagerInterface.php b/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManagerInterface.php index b1abce56a9..4bac7b7d81 100644 --- a/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManagerInterface.php +++ b/src/Symfony/Component/Security/Http/Authentication/AuthenticatorManagerInterface.php @@ -18,8 +18,6 @@ use Symfony\Component\Security\Http\Firewall\FirewallListenerInterface; /** * @author Wouter de Jong * @author Ryan Weaver - * - * @experimental in 5.3 */ interface AuthenticatorManagerInterface { diff --git a/src/Symfony/Component/Security/Http/Authentication/UserAuthenticatorInterface.php b/src/Symfony/Component/Security/Http/Authentication/UserAuthenticatorInterface.php index f6f67f5d8a..a59a792ebe 100644 --- a/src/Symfony/Component/Security/Http/Authentication/UserAuthenticatorInterface.php +++ b/src/Symfony/Component/Security/Http/Authentication/UserAuthenticatorInterface.php @@ -19,8 +19,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface; /** * @author Wouter de Jong - * - * @experimental in 5.3 */ interface UserAuthenticatorInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/AbstractAuthenticator.php b/src/Symfony/Component/Security/Http/Authenticator/AbstractAuthenticator.php index 474847d189..fb7df4db12 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/AbstractAuthenticator.php +++ b/src/Symfony/Component/Security/Http/Authenticator/AbstractAuthenticator.php @@ -21,8 +21,6 @@ use Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken; * An optional base class that creates the necessary tokens for you. * * @author Ryan Weaver - * - * @experimental in 5.3 */ abstract class AbstractAuthenticator implements AuthenticatorInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/AbstractLoginFormAuthenticator.php b/src/Symfony/Component/Security/Http/Authenticator/AbstractLoginFormAuthenticator.php index deb157784d..25413b73cb 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/AbstractLoginFormAuthenticator.php +++ b/src/Symfony/Component/Security/Http/Authenticator/AbstractLoginFormAuthenticator.php @@ -22,8 +22,6 @@ use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface * A base class to make form login authentication easier! * * @author Ryan Weaver - * - * @experimental in 5.3 */ abstract class AbstractLoginFormAuthenticator extends AbstractAuthenticator implements AuthenticationEntryPointInterface, InteractiveAuthenticatorInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/AbstractPreAuthenticatedAuthenticator.php b/src/Symfony/Component/Security/Http/Authenticator/AbstractPreAuthenticatedAuthenticator.php index cb8470f4e8..ebd3068aa2 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/AbstractPreAuthenticatedAuthenticator.php +++ b/src/Symfony/Component/Security/Http/Authenticator/AbstractPreAuthenticatedAuthenticator.php @@ -33,7 +33,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPasspor * @author Fabien Potencier * * @internal - * @experimental in 5.3 */ abstract class AbstractPreAuthenticatedAuthenticator implements InteractiveAuthenticatorInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/AuthenticatorInterface.php b/src/Symfony/Component/Security/Http/Authenticator/AuthenticatorInterface.php index d6ec043d15..65eb8738b7 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/AuthenticatorInterface.php +++ b/src/Symfony/Component/Security/Http/Authenticator/AuthenticatorInterface.php @@ -23,8 +23,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface; * @author Ryan Weaver * @author Amaury Leroux de Lens * @author Wouter de Jong - * - * @experimental in 5.3 */ interface AuthenticatorInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php b/src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php index 965cbfa4ec..892f19a9a6 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php +++ b/src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php @@ -18,11 +18,9 @@ use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Exception\AuthenticationException; -use Symfony\Component\Security\Core\Exception\AuthenticationServiceException; use Symfony\Component\Security\Core\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Security; use Symfony\Component\Security\Core\User\PasswordUpgraderInterface; -use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\User\UserProviderInterface; use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface; use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface; @@ -41,7 +39,6 @@ use Symfony\Component\Security\Http\ParameterBagUtils; * @author Fabien Potencier * * @final - * @experimental in 5.3 */ class FormLoginAuthenticator extends AbstractLoginFormAuthenticator { diff --git a/src/Symfony/Component/Security/Http/Authenticator/HttpBasicAuthenticator.php b/src/Symfony/Component/Security/Http/Authenticator/HttpBasicAuthenticator.php index c184de8477..cd2109d7c8 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/HttpBasicAuthenticator.php +++ b/src/Symfony/Component/Security/Http/Authenticator/HttpBasicAuthenticator.php @@ -17,9 +17,7 @@ use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Exception\AuthenticationException; -use Symfony\Component\Security\Core\Exception\AuthenticationServiceException; use Symfony\Component\Security\Core\User\PasswordUpgraderInterface; -use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\User\UserProviderInterface; use Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge; use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge; @@ -33,7 +31,6 @@ use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface * @author Fabien Potencier * * @final - * @experimental in 5.3 */ class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEntryPointInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/JsonLoginAuthenticator.php b/src/Symfony/Component/Security/Http/Authenticator/JsonLoginAuthenticator.php index 8e5d3afd5c..2e8f3cf7a7 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/JsonLoginAuthenticator.php +++ b/src/Symfony/Component/Security/Http/Authenticator/JsonLoginAuthenticator.php @@ -21,11 +21,9 @@ use Symfony\Component\PropertyAccess\PropertyAccessorInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Exception\AuthenticationException; -use Symfony\Component\Security\Core\Exception\AuthenticationServiceException; use Symfony\Component\Security\Core\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Security; use Symfony\Component\Security\Core\User\PasswordUpgraderInterface; -use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\User\UserProviderInterface; use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface; use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface; @@ -45,7 +43,6 @@ use Symfony\Contracts\Translation\TranslatorInterface; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class JsonLoginAuthenticator implements InteractiveAuthenticatorInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/BadgeInterface.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/BadgeInterface.php index 8e2d222089..009449f0d1 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/BadgeInterface.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/BadgeInterface.php @@ -15,8 +15,6 @@ namespace Symfony\Component\Security\Http\Authenticator\Passport\Badge; * Passport badges allow to add more information to a passport (e.g. a CSRF token). * * @author Wouter de Jong - * - * @experimental in 5.3 */ interface BadgeInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/CsrfTokenBadge.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/CsrfTokenBadge.php index dbfef17f9e..a4114a0973 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/CsrfTokenBadge.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/CsrfTokenBadge.php @@ -21,7 +21,6 @@ use Symfony\Component\Security\Http\EventListener\CsrfProtectionListener; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class CsrfTokenBadge implements BadgeInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PasswordUpgradeBadge.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PasswordUpgradeBadge.php index 76b10f31b3..8870444ad3 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PasswordUpgradeBadge.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PasswordUpgradeBadge.php @@ -22,7 +22,6 @@ use Symfony\Component\Security\Core\User\PasswordUpgraderInterface; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class PasswordUpgradeBadge implements BadgeInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PreAuthenticatedUserBadge.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PreAuthenticatedUserBadge.php index f78dedfc75..642f83f96d 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PreAuthenticatedUserBadge.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/PreAuthenticatedUserBadge.php @@ -23,7 +23,6 @@ use Symfony\Component\Security\Http\Authenticator\AbstractPreAuthenticatedAuthen * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class PreAuthenticatedUserBadge implements BadgeInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/RememberMeBadge.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/RememberMeBadge.php index 5a03f90c52..876677851f 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/RememberMeBadge.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/RememberMeBadge.php @@ -21,7 +21,6 @@ namespace Symfony\Component\Security\Http\Authenticator\Passport\Badge; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class RememberMeBadge implements BadgeInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/UserBadge.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/UserBadge.php index 83aae9029f..06b2519aad 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/UserBadge.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/UserBadge.php @@ -22,8 +22,6 @@ use Symfony\Component\Security\Http\EventListener\UserProviderListener; * "user loader" to load the related User object. * * @author Wouter de Jong - * - * @experimental in 5.3 */ class UserBadge implements BadgeInterface { @@ -67,7 +65,7 @@ class UserBadge implements BadgeInterface $this->user = ($this->userLoader)($this->userIdentifier); if (!$this->user instanceof UserInterface) { - throw new AuthenticationServiceException(sprintf('The user provider must return a UserInterface object, "%s" given.', \get_debug_type($this->user))); + throw new AuthenticationServiceException(sprintf('The user provider must return a UserInterface object, "%s" given.', get_debug_type($this->user))); } } diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CredentialsInterface.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CredentialsInterface.php index bdbbf75148..c22af0c444 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CredentialsInterface.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CredentialsInterface.php @@ -18,8 +18,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface; * credential check of an authenticator. * * @author Wouter de Jong - * - * @experimental in 5.3 */ interface CredentialsInterface extends BadgeInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CustomCredentials.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CustomCredentials.php index 648e42f6d4..81a3695b85 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CustomCredentials.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CustomCredentials.php @@ -20,7 +20,6 @@ use Symfony\Component\Security\Core\User\UserInterface; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class CustomCredentials implements CredentialsInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/PasswordCredentials.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/PasswordCredentials.php index e8b95bb8c2..1c27ac9e45 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/PasswordCredentials.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/PasswordCredentials.php @@ -22,7 +22,6 @@ use Symfony\Component\Security\Core\Exception\LogicException; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class PasswordCredentials implements CredentialsInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/Passport.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/Passport.php index 7c939e2cfd..273ac83280 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/Passport.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/Passport.php @@ -20,8 +20,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Credentials\Credentia * The default implementation for passports. * * @author Wouter de Jong - * - * @experimental in 5.3 */ class Passport implements UserPassportInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportInterface.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportInterface.php index 9d4318a58b..46fecf9b5d 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportInterface.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportInterface.php @@ -21,8 +21,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface; * passport. * * @author Wouter de Jong - * - * @experimental in 5.3 */ interface PassportInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php index f3d402ef03..57d3591aa1 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/PassportTrait.php @@ -15,8 +15,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\BadgeInterface; /** * @author Wouter de Jong - * - * @experimental in 5.3 */ trait PassportTrait { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/SelfValidatingPassport.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/SelfValidatingPassport.php index 771d814719..23e760020e 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/SelfValidatingPassport.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/SelfValidatingPassport.php @@ -19,8 +19,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge; * API token authentication). * * @author Wouter de Jong - * - * @experimental in 5.3 */ class SelfValidatingPassport extends Passport { diff --git a/src/Symfony/Component/Security/Http/Authenticator/Passport/UserPassportInterface.php b/src/Symfony/Component/Security/Http/Authenticator/Passport/UserPassportInterface.php index 59fce75a96..5c13d3bbd2 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/Passport/UserPassportInterface.php +++ b/src/Symfony/Component/Security/Http/Authenticator/Passport/UserPassportInterface.php @@ -18,8 +18,6 @@ use Symfony\Component\Security\Core\User\UserInterface; * Represents a passport for a Security User. * * @author Wouter de Jong - * - * @experimental in 5.3 */ interface UserPassportInterface extends PassportInterface { diff --git a/src/Symfony/Component/Security/Http/Authenticator/X509Authenticator.php b/src/Symfony/Component/Security/Http/Authenticator/X509Authenticator.php index b5e5551bfd..8f30a23993 100644 --- a/src/Symfony/Component/Security/Http/Authenticator/X509Authenticator.php +++ b/src/Symfony/Component/Security/Http/Authenticator/X509Authenticator.php @@ -25,7 +25,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface; * @author Fabien Potencier * * @final - * @experimental in 5.3 */ class X509Authenticator extends AbstractPreAuthenticatedAuthenticator { diff --git a/src/Symfony/Component/Security/Http/EventListener/CheckCredentialsListener.php b/src/Symfony/Component/Security/Http/EventListener/CheckCredentialsListener.php index 8a3db46ede..d215a8f389 100644 --- a/src/Symfony/Component/Security/Http/EventListener/CheckCredentialsListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/CheckCredentialsListener.php @@ -30,7 +30,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class CheckCredentialsListener implements EventSubscriberInterface { diff --git a/src/Symfony/Component/Security/Http/EventListener/CheckRememberMeConditionsListener.php b/src/Symfony/Component/Security/Http/EventListener/CheckRememberMeConditionsListener.php index ccf201d722..6fad12ff37 100644 --- a/src/Symfony/Component/Security/Http/EventListener/CheckRememberMeConditionsListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/CheckRememberMeConditionsListener.php @@ -36,7 +36,6 @@ use Symfony\Component\Security\Http\RememberMe\RememberMeHandlerInterface; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class CheckRememberMeConditionsListener implements EventSubscriberInterface { diff --git a/src/Symfony/Component/Security/Http/EventListener/CsrfProtectionListener.php b/src/Symfony/Component/Security/Http/EventListener/CsrfProtectionListener.php index aac282bb74..91f46f3697 100644 --- a/src/Symfony/Component/Security/Http/EventListener/CsrfProtectionListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/CsrfProtectionListener.php @@ -22,7 +22,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class CsrfProtectionListener implements EventSubscriberInterface { diff --git a/src/Symfony/Component/Security/Http/EventListener/LoginThrottlingListener.php b/src/Symfony/Component/Security/Http/EventListener/LoginThrottlingListener.php index e739de7125..ca0f718056 100644 --- a/src/Symfony/Component/Security/Http/EventListener/LoginThrottlingListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/LoginThrottlingListener.php @@ -21,8 +21,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent; /** * @author Wouter de Jong - * - * @experimental in 5.3 */ final class LoginThrottlingListener implements EventSubscriberInterface { diff --git a/src/Symfony/Component/Security/Http/EventListener/PasswordMigratingListener.php b/src/Symfony/Component/Security/Http/EventListener/PasswordMigratingListener.php index d19121dec8..19edcec7b5 100644 --- a/src/Symfony/Component/Security/Http/EventListener/PasswordMigratingListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/PasswordMigratingListener.php @@ -25,7 +25,6 @@ use Symfony\Component\Security\Http\Event\LoginSuccessEvent; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class PasswordMigratingListener implements EventSubscriberInterface { diff --git a/src/Symfony/Component/Security/Http/EventListener/RememberMeListener.php b/src/Symfony/Component/Security/Http/EventListener/RememberMeListener.php index 08f58e1078..0b51e462cc 100644 --- a/src/Symfony/Component/Security/Http/EventListener/RememberMeListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/RememberMeListener.php @@ -32,7 +32,6 @@ use Symfony\Component\Security\Http\RememberMe\RememberMeHandlerInterface; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class RememberMeListener implements EventSubscriberInterface { diff --git a/src/Symfony/Component/Security/Http/EventListener/UserCheckerListener.php b/src/Symfony/Component/Security/Http/EventListener/UserCheckerListener.php index f53cdecaea..55be8b7a7c 100644 --- a/src/Symfony/Component/Security/Http/EventListener/UserCheckerListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/UserCheckerListener.php @@ -23,7 +23,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class UserCheckerListener implements EventSubscriberInterface { diff --git a/src/Symfony/Component/Security/Http/EventListener/UserProviderListener.php b/src/Symfony/Component/Security/Http/EventListener/UserProviderListener.php index 21fbf97daa..a6e78f6a1f 100644 --- a/src/Symfony/Component/Security/Http/EventListener/UserProviderListener.php +++ b/src/Symfony/Component/Security/Http/EventListener/UserProviderListener.php @@ -22,7 +22,6 @@ use Symfony\Component\Security\Http\Event\CheckPassportEvent; * @author Wouter de Jong * * @final - * @experimental in 5.3 */ class UserProviderListener { diff --git a/src/Symfony/Component/Security/Http/Firewall/AuthenticatorManagerListener.php b/src/Symfony/Component/Security/Http/Firewall/AuthenticatorManagerListener.php index dc51982a3d..408f80c95a 100644 --- a/src/Symfony/Component/Security/Http/Firewall/AuthenticatorManagerListener.php +++ b/src/Symfony/Component/Security/Http/Firewall/AuthenticatorManagerListener.php @@ -19,8 +19,6 @@ use Symfony\Component\Security\Http\Authentication\AuthenticatorManagerInterface * Firewall authentication listener that delegates to the authenticator system. * * @author Wouter de Jong - * - * @experimental in 5.3 */ class AuthenticatorManagerListener extends AbstractListener { diff --git a/src/Symfony/Component/Security/Http/RateLimiter/DefaultLoginRateLimiter.php b/src/Symfony/Component/Security/Http/RateLimiter/DefaultLoginRateLimiter.php index 1b77cb27b7..1aec96f58f 100644 --- a/src/Symfony/Component/Security/Http/RateLimiter/DefaultLoginRateLimiter.php +++ b/src/Symfony/Component/Security/Http/RateLimiter/DefaultLoginRateLimiter.php @@ -23,8 +23,6 @@ use Symfony\Component\Security\Core\Security; * a limit on username+IP and a (higher) limit on IP. * * @author Wouter de Jong - * - * @experimental in 5.3 */ final class DefaultLoginRateLimiter extends AbstractRequestRateLimiter { diff --git a/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeHandler.php b/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeHandler.php index 42a5e05528..5935b6e63c 100644 --- a/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeHandler.php +++ b/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeHandler.php @@ -20,8 +20,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface; /** * @author Wouter de Jong - * - * @experimental in 5.3 */ abstract class AbstractRememberMeHandler implements RememberMeHandlerInterface { diff --git a/src/Symfony/Component/Security/Http/RememberMe/PersistentRememberMeHandler.php b/src/Symfony/Component/Security/Http/RememberMe/PersistentRememberMeHandler.php index 24a03861d9..03d41a3950 100644 --- a/src/Symfony/Component/Security/Http/RememberMe/PersistentRememberMeHandler.php +++ b/src/Symfony/Component/Security/Http/RememberMe/PersistentRememberMeHandler.php @@ -28,8 +28,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface; * {@see SignatureRememberMeHandler} if you don't want to use a database. * * @author Wouter de Jong - * - * @experimental in 5.3 */ final class PersistentRememberMeHandler extends AbstractRememberMeHandler { diff --git a/src/Symfony/Component/Security/Http/RememberMe/RememberMeDetails.php b/src/Symfony/Component/Security/Http/RememberMe/RememberMeDetails.php index 8bf2cdd3f4..2e1e202808 100644 --- a/src/Symfony/Component/Security/Http/RememberMe/RememberMeDetails.php +++ b/src/Symfony/Component/Security/Http/RememberMe/RememberMeDetails.php @@ -16,8 +16,6 @@ use Symfony\Component\Security\Core\Exception\AuthenticationException; /** * @author Wouter de Jong - * - * @experimental in 5.3 */ class RememberMeDetails { diff --git a/src/Symfony/Component/Security/Http/RememberMe/RememberMeHandlerInterface.php b/src/Symfony/Component/Security/Http/RememberMe/RememberMeHandlerInterface.php index 9ab2f69df8..046fddb333 100644 --- a/src/Symfony/Component/Security/Http/RememberMe/RememberMeHandlerInterface.php +++ b/src/Symfony/Component/Security/Http/RememberMe/RememberMeHandlerInterface.php @@ -21,8 +21,6 @@ use Symfony\Component\Security\Core\User\UserInterface; * {@see AbstractRememberMeHandler} instead. * * @author Wouter de Jong - * - * @experimental in 5.3 */ interface RememberMeHandlerInterface { diff --git a/src/Symfony/Component/Security/Http/RememberMe/SignatureRememberMeHandler.php b/src/Symfony/Component/Security/Http/RememberMe/SignatureRememberMeHandler.php index 79c3814dd6..261f41a6dc 100644 --- a/src/Symfony/Component/Security/Http/RememberMe/SignatureRememberMeHandler.php +++ b/src/Symfony/Component/Security/Http/RememberMe/SignatureRememberMeHandler.php @@ -29,8 +29,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface; * if you need this. * * @author Wouter de Jong - * - * @experimental in 5.3 */ final class SignatureRememberMeHandler extends AbstractRememberMeHandler {