Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13179

Allow custom HiveConf to be passed to Authentication Providers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HIVE-13179.05.patch
          6 kB
          Rajat Khandelwal
        2. HIVE-13179.1.patch
          6 kB
          Rajat Khandelwal
        3. HIVE-13179.patch
          6 kB
          Rajat Khandelwal
        4. HIVE-13179.patch
          6 kB
          Rajat Khandelwal

        Issue Links

          Activity

            People

              prongs Rajat Khandelwal
              prongs Rajat Khandelwal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: