Class VPJSSLUtils


  • public class VPJSSLUtils
    extends java.lang.Object
    This class contains some utils methods for VPJ jobs to obtain SSL-related configs.
    • Constructor Detail

      • VPJSSLUtils

        public VPJSSLUtils()
    • Method Detail

      • getSslProperties

        public static java.util.Properties getSslProperties​(VeniceProperties allProperties)
                                                     throws java.io.IOException
        Build a ssl properties based on the hadoop token file.
        Throws:
        java.io.IOException
      • validateSslProperties

        public static void validateSslProperties​(VeniceProperties props)
      • createSSLFactory

        public static java.util.Optional<SSLFactory> createSSLFactory​(boolean enableSsl,
                                                                      java.lang.String sslFactoryClassName,
                                                                      Lazy<java.util.Properties> sslProps)