maheshk114 commented on a change in pull request #793: HIVE-22267 : Support 
password based authentication for HMS along-side kerberos authentication.
URL: https://github.com/apache/hive/pull/793#discussion_r331081442
 
 

 ##########
 File path: 
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
 ##########
 @@ -1039,8 +1136,27 @@ public static ConfVars getMetaConf(String name) {
             "More users can be added in ADMIN role later."),
     USE_SSL("metastore.use.SSL", "hive.metastore.use.SSL", false,
         "Set this to true for using SSL encryption in HMS server."),
+    // We should somehow unify next two options.
     USE_THRIFT_SASL("metastore.sasl.enabled", "hive.metastore.sasl.enabled", 
false,
         "If true, the metastore Thrift interface will be secured with SASL. 
Clients must authenticate with Kerberos."),
+    METASTORE_CLIENT_USE_PLAIN_AUTH("metastore.client.use.plain.auth",
+            "metastore.client.use.plain.auth", false,
+            "If true, clients will authenticate using plain authentication, by 
providing username" +
+                    " and password."),
+    METASTORE_CLIENT_PLAIN_USERNAME("metastore.client.plain.username",
+            "metastore.client.plain.username",  "",
+        "The username used by the metastore client when " +
+                    METASTORE_CLIENT_USE_PLAIN_AUTH + " is true. The password 
is obtained from " +
+                    CredentialProviderFactory.CREDENTIAL_PROVIDER_PATH + " 
using username as the " +
+                    "alias."),
+    THRIFT_AUTH_CONFIG_USERNAME("metastore.authentication.config.username",
 
 Review comment:
   The two config METASTORE_CLIENT_PLAIN_USERNAME and 
THRIFT_AUTH_CONFIG_USERNAME can be one. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to