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

Make RpcConnection with transient/non-Singleton SaslClientAuthenticationProviders with repsecting the passing configuration object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-1, 2.5.0, 2.4.5
    • None
    • Client, rpc
    • None

    Description

      When a RPC connection was created from any table connection (e.g. via ConnectionFactory.createConnection(conf)), the SaslClientAuthenticationProviders that matches different authentication selector per-user/TOKEN as the singleton object and reuses for any followup connection creation.

      If user want to create another connection with a different configuration key that the authentication selector may use, e.g. if one want to switch between secure and non-secure connection, it cannot be done because of the cached singleton instance of AuthenticationProviders.

      the goal of this JIRA is to allow the RpcConnection and AuthenticationProviders align with whatever passing configuration object

      Attachments

        Activity

          People

            Unassigned Unassigned
            taklwu Tak-Lon (Stephen) Wu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: