Package com.linkedin.venice.hadoop.utils
Class VPJSSLUtils
- java.lang.Object
-
- com.linkedin.venice.hadoop.utils.VPJSSLUtils
-
public class VPJSSLUtils extends java.lang.Object
This class contains some utils methods for VPJ jobs to obtain SSL-related configs.
-
-
Constructor Summary
Constructors Constructor Description VPJSSLUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<SSLFactory>
createSSLFactory(boolean enableSsl, java.lang.String sslFactoryClassName, Lazy<java.util.Properties> sslProps)
static java.util.Properties
getSslProperties(VeniceProperties allProperties)
Build a ssl properties based on the hadoop token file.static void
validateSslProperties(VeniceProperties props)
-
-
-
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)
-
-