Package org.apache.hadoop.security
Class SecurityUtil.TruststoreKeystore
java.lang.Object
org.apache.hadoop.security.SecurityUtil.TruststoreKeystore
- Enclosing class:
- SecurityUtil
Helper class to contain the Truststore/Keystore paths for the ZK client connection over
SSL/TLS.
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguration for the ZooKeeper connection when SSL/TLS is enabled. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
TruststoreKeystore
Configuration for the ZooKeeper connection when SSL/TLS is enabled. When a value is not configured, ensure that empty string is set instead of null.- Parameters:
conf- ZooKeeper Client configuration
-
-
Method Details
-
getKeystoreLocation
-
getKeystorePassword
-
getTruststoreLocation
-
getTruststorePassword
-