summaryrefslogtreecommitdiffstats
path: root/Core/SecurityContextInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/SecurityContextInterface.php')
-rw-r--r--Core/SecurityContextInterface.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Core/SecurityContextInterface.php b/Core/SecurityContextInterface.php
index 50c30bb..0253a6a 100644
--- a/Core/SecurityContextInterface.php
+++ b/Core/SecurityContextInterface.php
@@ -23,6 +23,7 @@ interface SecurityContextInterface
const ACCESS_DENIED_ERROR = '_security.403_error';
const AUTHENTICATION_ERROR = '_security.last_error';
const LAST_USERNAME = '_security.last_username';
+ const MAX_USERNAME_LENGTH = 4096;
/**
* Returns the current security token.