From df6056565d26a3defd654702f79d2ef3340fc466 Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Thu, 26 Nov 2015 14:28:37 +0100 Subject: [PATCH] SONAR-7054 Update javadoc concerning hexadecimal characters in token and hash --- .../main/java/org/sonar/server/usertoken/TokenGenerator.java | 2 ++ 1 file changed, 2 insertions(+) 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. *
* Length does not exceed 40 characters (arbitrary value). + * Token is composed of hexadecimal characters only (0-9, a-f) *
* 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. *
* Length must not exceed 255 characters. + * Hash is composed of hexadecimal characters only (0-9, a-f) */ String hash(String token); } -- 2.39.5