sankalpbhatia opened a new pull request #1285: ZOOKEEPER-3689:  
zkCli/ZooKeeperMain relies on system properties for TLS config
URL: https://github.com/apache/zookeeper/pull/1285
 
 
   The current zkCli uses system properties to set confidential information 
like keystore location, password etc. This is not secure as these properties 
need to be passed on the command line as "-D"  arguments. 
   
   Currently, there is no way to create a ZookeeperAdmin does not have a 
constructor which takes both canBeReadOnly and ZKClientConfig as parameters.  I 
am introducing a new constructor in ZookeeperAdmin which takes an additional 
ZKClientConfig parameter. This ZKClientConfig is created by an optional command 
line argument ``client-configuration``. If no argument is passed, a 
ZookeeperAdmin object with null client config is created, just like before. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to