Package com.linkedin.venice.hadoop.ssl
Class TempFileSSLConfigurator
- java.lang.Object
-
- com.linkedin.venice.hadoop.ssl.TempFileSSLConfigurator
-
- All Implemented Interfaces:
SSLConfigurator
public class TempFileSSLConfigurator extends java.lang.Object implements SSLConfigurator
-
-
Constructor Summary
Constructors Constructor Description TempFileSSLConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
getCertification(org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.io.Text certName)
protected java.lang.String
getPassword(org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.io.Text propertyName)
java.util.Properties
setupSSLConfig(java.util.Properties props, org.apache.hadoop.security.Credentials userCredentials)
protected java.lang.String
writeToTempFile(byte[] certification)
-
-
-
Method Detail
-
setupSSLConfig
public java.util.Properties setupSSLConfig(java.util.Properties props, org.apache.hadoop.security.Credentials userCredentials)
- Specified by:
setupSSLConfig
in interfaceSSLConfigurator
-
getPassword
protected java.lang.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
protected java.lang.String writeToTempFile(byte[] certification)
-
-