ctubbsii commented on a change in pull request #1798:
URL: https://github.com/apache/accumulo/pull/1798#discussion_r530539938
##########
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:
No problem. I created #1810 to deal with it as a follow-on issue.
----------------------------------------------------------------
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]