Class SecurityUtil.TruststoreKeystore

java.lang.Object
org.apache.hadoop.security.SecurityUtil.TruststoreKeystore
Enclosing class:
SecurityUtil

public static class SecurityUtil.TruststoreKeystore extends Object
Helper class to contain the Truststore/Keystore paths for the ZK client connection over SSL/TLS.
  • Constructor Details

    • TruststoreKeystore

      public TruststoreKeystore(Configuration conf)
      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

      public String getKeystoreLocation()
    • getKeystorePassword

      public String getKeystorePassword()
    • getTruststoreLocation

      public String getTruststoreLocation()
    • getTruststorePassword

      public String getTruststorePassword()