vikaskr22 commented on code in PR #593:
URL: https://github.com/apache/ranger/pull/593#discussion_r2166986010


##########
kms/src/main/java/org/apache/hadoop/crypto/key/RangerKeyStoreProvider.java:
##########
@@ -123,6 +128,10 @@ public RangerKeyStoreProvider(Configuration conf) throws 
Throwable {
         final DaoManager   daoManager  = rangerKMSDB.getDaoManager();
         final RangerKMSMKI masterKeyProvider;
 
+        String storeType = conf.get("ranger.keystore.file.type", 
KeyStore.getDefaultType());
+        this.isFIPSEnabled = StringUtils.equalsIgnoreCase("bcfks", storeType) 
? true : false;
+        logger.info("isFIPSEnabled=" + isFIPSEnabled);

Review Comment:
   Incorporated the review comments. Thanks.



-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to