Package com.linkedin.venice.hadoop.ssl
Class TempFileSSLConfigurator
java.lang.Object
com.linkedin.venice.hadoop.ssl.TempFileSSLConfigurator
- All Implemented Interfaces:
SSLConfigurator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
getCertification
(org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.io.Text certName) protected String
getPassword
(org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.io.Text propertyName) setupSSLConfig
(Properties props, org.apache.hadoop.security.Credentials userCredentials) protected String
writeToTempFile
(byte[] certification)
-
Constructor Details
-
TempFileSSLConfigurator
public TempFileSSLConfigurator()
-
-
Method Details
-
setupSSLConfig
public Properties setupSSLConfig(Properties props, org.apache.hadoop.security.Credentials userCredentials) - Specified by:
setupSSLConfig
in interfaceSSLConfigurator
-
getPassword
protected String getPassword(org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.io.Text propertyName) -
getCertification
protected byte[] getCertification(org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.io.Text certName) -
writeToTempFile
-