From: Teryk Bellahsene Date: Thu, 26 Nov 2015 13:28:37 +0000 (+0100) Subject: SONAR-7054 Update javadoc concerning hexadecimal characters in token and hash X-Git-Tag: 5.3-RC1~153 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df6056565d26a3defd654702f79d2ef3340fc466;p=sonarqube.git SONAR-7054 Update javadoc concerning hexadecimal characters in token and hash --- 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); }