Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4791

Allow Secure Zookeeper JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file)

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In the currently proposed fix for HBASE-2418, there must be a JAAS file specified in System.setProperty("java.security.auth.login.config").

      However, it might be preferable to construct a JAAS configuration programmatically, as is done with secure Hadoop (see https://github.com/apache/hadoop-common/blob/a48eceb62c9b5c1a5d71ee2945d9eea2ed62527b/src/java/org/apache/hadoop/security/UserGroupInformation.java#L175).

      This would have the benefit of avoiding a usage of a system property setting, and allow instead an HBase-local configuration setting.

      Attachments

        1. HBASE-4791-v4-0.94.patch
          14 kB
          Matteo Bertozzi
        2. HBASE-4791-v4.patch
          14 kB
          Matteo Bertozzi
        3. HBASE-4791-v4.patch
          14 kB
          Michael Stack
        4. HBASE-4791-v3.patch
          14 kB
          Matteo Bertozzi
        5. HBASE-4791-v2.patch
          12 kB
          Matteo Bertozzi
        6. HBASE-4791-v1.patch
          12 kB
          Matteo Bertozzi
        7. DemoConfig.java
          3 kB
          Matteo Bertozzi
        8. 4791.094v5.txt
          14 kB
          Michael Stack

        Issue Links

          Activity

            People

              mbertozzi Matteo Bertozzi
              ekoontz Eugene Joseph Koontz
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: