Hello Apache Curator community, With digest scheme it seemed to be enough to configure CuratorFrameworkFactory.Builder authorization with appropriate AuthInfo - scheme "digest" and "user:pass" bytes as auth.
By experimenting and checking ZooKeeperServer [1] and SASLAuthenticationProvider [2] code, I've got it work with SASL scheme when CuratorFrameworkFactory.Builder does not have authorization configured, JAAS config file is provisioned and JVM is configured to use it via java.security.auth.login.config Java system property. I'd prefer API support over provisioning via file. Is there equivalent (to digest support) Java API in Curator that one can use to configure SASL scheme authorization? Kind regards, Stevo Slavic. [1] http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java?view=markup#l1060 [2] http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/auth/SASLAuthenticationProvider.java?view=markup#l30
