Package com.linkedin.venice.hadoop.utils
Class VPJSSLUtils
java.lang.Object
com.linkedin.venice.hadoop.utils.VPJSSLUtils
This class contains some utils methods for VPJ jobs to obtain SSL-related configs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<SSLFactory>
createSSLFactory
(boolean enableSsl, String sslFactoryClassName, Lazy<Properties> sslProps) static Properties
getSslProperties
(VeniceProperties allProperties) Build a ssl properties based on the hadoop token file.static void
-
Constructor Details
-
VPJSSLUtils
public VPJSSLUtils()
-
-
Method Details
-
getSslProperties
Build a ssl properties based on the hadoop token file.- Throws:
IOException
-
validateSslProperties
-
createSSLFactory
public static Optional<SSLFactory> createSSLFactory(boolean enableSsl, String sslFactoryClassName, Lazy<Properties> sslProps)
-