aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/usertoken/TokenGenerator.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/usertoken/TokenGenerator.java b/server/sonar-server/src/main/java/org/sonar/server/usertoken/TokenGenerator.java
index 0fa1c559341..1e7221b04a3 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/usertoken/TokenGenerator.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/usertoken/TokenGenerator.java
@@ -27,6 +27,7 @@ public interface TokenGenerator {
* subject to change in subsequent SonarQube versions.
* <br/>
* Length does not exceed 40 characters (arbitrary value).
+ * Token is composed of hexadecimal characters only (0-9, a-f)
* <br/>
* The token is sent through the userid field (login) of HTTP Basic authentication,
*
@@ -43,6 +44,7 @@ public interface TokenGenerator {
* subject to change in subsequent SonarQube versions.
* <br />
* Length must not exceed 255 characters.
+ * Hash is composed of hexadecimal characters only (0-9, a-f)
*/
String hash(String token);
}