Security.php 617 B

12345678910111213141516171819202122232425
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Security\Core;
  11. /**
  12. * This class holds security information.
  13. *
  14. * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  15. */
  16. final class Security
  17. {
  18. const ACCESS_DENIED_ERROR = '_security.403_error';
  19. const AUTHENTICATION_ERROR = '_security.last_error';
  20. const LAST_USERNAME = '_security.last_username';
  21. const MAX_USERNAME_LENGTH = 4096;
  22. }