diff options
Diffstat (limited to 'Core/Security.php')
-rw-r--r-- | Core/Security.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Core/Security.php b/Core/Security.php new file mode 100644 index 0000000..84cc77d --- /dev/null +++ b/Core/Security.php @@ -0,0 +1,25 @@ +<?php + +/* + * This file is part of the Symfony package. + * + * (c) Fabien Potencier <fabien@symfony.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Security\Core; + +/** + * This class holds security information. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +final class Security +{ + const ACCESS_DENIED_ERROR = '_security.403_error'; + const AUTHENTICATION_ERROR = '_security.last_error'; + const LAST_USERNAME = '_security.last_username'; + const MAX_USERNAME_LENGTH = 4096; +} |