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

Allow custom HiveConf to be passed to Authentication Providers

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.patch
          6 kB
          Rajat Khandelwal
        2. HIVE-13179.patch
          6 kB
          Rajat Khandelwal
        3. HIVE-13179.1.patch
          6 kB
          Rajat Khandelwal
        4. HIVE-13179.05.patch
          6 kB
          Rajat Khandelwal

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment