BukrosSzabolcs commented on a change in pull request #1798:
URL: https://github.com/apache/accumulo/pull/1798#discussion_r530243983



##########
File path: 
server/base/src/main/java/org/apache/accumulo/server/security/SystemCredentials.java
##########
@@ -103,7 +102,8 @@ private static SystemToken get(String instanceID, 
SiteConfiguration siteConfig)
       byte[] confChecksum;
       MessageDigest md;
       try {
-        md = MessageDigest.getInstance(Constants.PW_HASH_ALGORITHM);
+        String hashAlgorithm = siteConfig.get(Property.SYSTEM_TOKEN_HASH_TYPE);
+        md = MessageDigest.getInstance(hashAlgorithm);

Review comment:
       I would prefer to leave this as it is for now and create a separate 
issue for the follow up changes and related discussion.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to