aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-11-26 14:28:37 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-11-26 14:28:37 +0100
commitdf6056565d26a3defd654702f79d2ef3340fc466 (patch)
tree252e188cfb0e0c999d82d35df3dbe8ceffd97d8b
parent3a1d39423a5d340cfdd7a4cb1b2dfa6a5a70447a (diff)
downloadsonarqube-df6056565d26a3defd654702f79d2ef3340fc466.tar.gz
sonarqube-df6056565d26a3defd654702f79d2ef3340fc466.zip
SONAR-7054 Update javadoc concerning hexadecimal characters in token and hash
-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);
}