Giter VIP home page Giter VIP logo

Comments (3)

elkozmon avatar elkozmon commented on June 12, 2024

Hi,

I'm not sure if I understand your problem. Auth username and password fields in ZooNavigator aren't used for SASL authentication, but for DIGEST authentication.

Let's say you have a ZooKeeper node and assign it exclusively this ACL entry with all permissions:
scheme: digest
id: admin:x1nq8J5GOJVPY6zgzhtTtA9izLc= (this expression stands for "admin:" + base64(sha1("admin:admin")) username and password base64 encoded sha1 digest as required by ZooKeeper)

If you connect to this ZooKeeper using ZooNavigator while entering admin as auth username and password, you will be able to open/write/delete this node.

from zoonavigator.

afzouni avatar afzouni commented on June 12, 2024

Hi Dear,
Authentication using digest is working good as good and it's okay. For a specific case, I need authenticate in ZooNavigator using SASL.

from zoonavigator.

elkozmon avatar elkozmon commented on June 12, 2024

To use SASL authentication, you have to provide JAAS configuration file to ZooNavigator.

I assume you wish to authenticate with ZooKeeper using DIGEST-MD5 SASL auth (i.e. username and password). If that's the case then the config file needs to look like this (with your username and password):

Client {
       org.apache.zookeeper.server.auth.DigestLoginModule required
       username="admin"
       password="admin";
};

You need to set the path to the JAAS config file in ZooNavigator, which in case you are using Docker image, can be done using JAVA_JAAS_LOGIN_CONFIG environment variable.

from zoonavigator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.