diff --git a/README.md b/README.md index 3d53c79..7ca54c9 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,29 @@ Build Run - $chmod +x target/zooinspector-pkg/bin/zooinspector.sh - $target/zooinspector-pkg/bin/zooinspector.sh + +Support SASL DIGEST-MD5 +- Edit $target/zooinspector-pkg/bin/zooinspector.sh, Add "java.security.auth.login.config" jvm options. + + **zooinspector.sh example:** + ```shell script + exec "$JAVACMD" $JAVA_OPTS \ + $EXTRA_JVM_ARGUMENTS \ + -classpath "$CLASSPATH" \ + -Dapp.name="zooinspector" \ + -Dapp.pid="$$" \ + -Dapp.repo="$REPO" \ + -Dbasedir="$BASEDIR" \ + -Djava.security.auth.login.config={your path}/zk_client.conf \ + org.apache.zookeeper.inspector.ZooInspector \ + "$@" + ``` + **zk_client.conf example:** + ```shell script + Client { + org.apache.zookeeper.server.auth.DigestLoginModule required + username="" + password=""; + }; + ``` + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 9e80d00..e1cd983 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.apache.zookeeper zooinspector jar - 1.0-SNAPSHOT + 1.1 zooinspector http://maven.apache.org @@ -41,7 +41,7 @@ org.apache.zookeeper zookeeper - 3.3.3 + 3.6.0 junit