Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4249

Support custom authentication info provider to plug-in custom authentication

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.8.0
    • Component/s: security
    • Labels:
      None
    • Environment:

      **

      Description

      Problem Background:
      ZooKeeper server provides option to add custom authentication providers.
      When those custom authentication providers are enabled, all client apps have to add authentication info by changing their code
      For example:

      ZooKeeper zooKeeper=connectToZK();
      zooKeeper.addAuthInfo("customAuthScheme", authenticationInfoBytes);
      //start ZK operation
      

      Changing code on multiple client applications is not convent. This JIRA is to solve this inconvenient.

      Proposed Solution:
      Add AuthInfoProvider interface
      Expose zookeeper.custom.authinfo.provider client configuration
      Users can implement AuthInfoProvider and configure implementation class in zookeeper.custom.authinfo.provider cofiguration
      If zookeeper.custom.authinfo.provider is configured ZooKeeper automatically adds authentication info into the connection.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ayushmantri Ayush Mantri

              Dates

              • Created:
                Updated:

                Issue deployment