Package com.linkedin.venice.security
Class SSLConfig
- java.lang.Object
-
- com.linkedin.venice.security.SSLConfig
-
public class SSLConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SSLConfig.ConfigHelper
-
Constructor Summary
Constructors Constructor Description SSLConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SSLConfig
buildConfig(java.util.Properties sslProperties)
Build a Config class from Properties that contains all SSL settingsboolean
doesSslRequireClientCerts()
java.lang.String
getKeyStoreData()
java.lang.String
getKeyStoreFilePath()
java.lang.String
getKeyStorePassword()
java.lang.String
getKeyStoreType()
boolean
getSslEnabled()
java.lang.String
getTrustStoreFilePassword()
java.lang.String
getTrustStoreFilePath()
java.lang.String
getTrustStoreType()
boolean
isRequireClientCertOnLocalHost()
void
setKeyStoreData(java.lang.String keyStoreData)
void
setKeyStoreFilePath(java.lang.String keyStoreFilePath)
void
setKeyStorePassword(java.lang.String keyStorePassword)
void
setKeyStoreType(java.lang.String keyStoreType)
void
setRequireClientCertOnLocalHost(boolean requireClientCertOnLocalHost)
void
setSslEnabled(boolean sslEnabled)
void
setSslRequireClientCerts(boolean sslRequireClientCerts)
void
setTrustStoreFilePassword(java.lang.String trustStoreFilePassword)
void
setTrustStoreFilePath(java.lang.String trustStoreFilePath)
void
setTrustStoreType(java.lang.String trustStoreType)
-
-
-
Method Detail
-
setKeyStoreData
public void setKeyStoreData(java.lang.String keyStoreData)
-
getKeyStoreData
public java.lang.String getKeyStoreData()
-
setKeyStoreFilePath
public void setKeyStoreFilePath(java.lang.String keyStoreFilePath)
-
getKeyStoreFilePath
public java.lang.String getKeyStoreFilePath()
-
setKeyStorePassword
public void setKeyStorePassword(java.lang.String keyStorePassword)
-
getKeyStorePassword
public java.lang.String getKeyStorePassword()
-
setTrustStoreFilePath
public void setTrustStoreFilePath(java.lang.String trustStoreFilePath)
-
getTrustStoreFilePath
public java.lang.String getTrustStoreFilePath()
-
setTrustStoreFilePassword
public void setTrustStoreFilePassword(java.lang.String trustStoreFilePassword)
-
getTrustStoreFilePassword
public java.lang.String getTrustStoreFilePassword()
-
setKeyStoreType
public void setKeyStoreType(java.lang.String keyStoreType)
-
getKeyStoreType
public java.lang.String getKeyStoreType()
-
setTrustStoreType
public void setTrustStoreType(java.lang.String trustStoreType)
-
getTrustStoreType
public java.lang.String getTrustStoreType()
-
setSslEnabled
public void setSslEnabled(boolean sslEnabled)
-
getSslEnabled
public boolean getSslEnabled()
-
doesSslRequireClientCerts
public boolean doesSslRequireClientCerts()
-
setSslRequireClientCerts
public void setSslRequireClientCerts(boolean sslRequireClientCerts)
-
isRequireClientCertOnLocalHost
public boolean isRequireClientCertOnLocalHost()
-
setRequireClientCertOnLocalHost
public void setRequireClientCertOnLocalHost(boolean requireClientCertOnLocalHost)
-
buildConfig
public static SSLConfig buildConfig(java.util.Properties sslProperties)
Build a Config class from Properties that contains all SSL settings
-
-