martin-g commented on a change in pull request #106:
URL: https://github.com/apache/ranger/pull/106#discussion_r713410698



##########
File path: 
kms/src/main/java/org/apache/hadoop/crypto/key/RangerSafenetKeySecure.java
##########
@@ -68,9 +68,9 @@ public RangerSafenetKeySecure(Configuration conf) throws 
Exception {
                try {
                        int javaVersion = getJavaVersion();
                        /*Minimum java requirement for Ranger KMS is Java 8 and 
Maximum java supported by Ranger KMS is Java 11*/
-                       if(javaVersion == 8){
+                       /*if(javaVersion == 8){
                                provider = new 
sun.security.pkcs11.SunPKCS11(pkcs11CfgFilePath);
-                       }else if(javaVersion == 9 || javaVersion == 10 || 
javaVersion == 11){
+                       }else*/ if(javaVersion == 9 || javaVersion == 10 || 
javaVersion == 11){

Review comment:
       See https://github.com/apache/ranger/pull/96 for better solution




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