You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2016/02/28 17:47:18 UTC

[jira] [Commented] (HIVE-13179) Allow custom HiveConf to be passed to Authentication Providers

    [ https://issues.apache.org/jira/browse/HIVE-13179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171101#comment-15171101 ] 

Rajat Khandelwal commented on HIVE-13179:
-----------------------------------------

Created https://reviews.apache.org/r/44146/

> Allow custom HiveConf to be passed to Authentication Providers
> --------------------------------------------------------------
>
>                 Key: HIVE-13179
>                 URL: https://issues.apache.org/jira/browse/HIVE-13179
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajat Khandelwal
>            Assignee: Rajat Khandelwal
>
> Right now if I want to create an ldap auth provider, I have to create a hive-site.xml, set endpoints and other relevant properties there, then instantiate `LdapAuthenticationProviderImpl`, since inside the constructor, a new HiveConf is constructed. 
> A better and more reusable design would be to ask for the conf in the constructor itself. That will allow an external user to create a HiveConf, set all relevant properties and instantiate `LdapAuthenticationProviderImpl` with that conf. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)