Package org.apache.accumulo.core.rpc
Class SslConnectionParams
- java.lang.Object
-
- org.apache.accumulo.core.rpc.SslConnectionParams
-
public class SslConnectionParams extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static SslConnectionParamsforClient(AccumuloConfiguration configuration)static SslConnectionParamsforConfig(AccumuloConfiguration conf, boolean server)static SslConnectionParamsforServer(AccumuloConfiguration configuration)StringgetClientProtocol()StringgetKeyStorePass()StringgetKeyStorePath()StringgetKeyStoreType()String[]getServerProtocols()StringgetTrustStorePass()StringgetTrustStorePath()StringgetTrustStoreType()org.apache.thrift.transport.TSSLTransportFactory.TSSLTransportParametersgetTTransportParams()inthashCode()booleanisClientAuth()booleanisKeyStoreSet()booleanisTrustStoreSet()voidsetClientAuth(boolean clientAuth)voidsetKeyStoreFromConf(AccumuloConfiguration conf)voidsetTrustStoreFromConf(AccumuloConfiguration conf)voidsetUseJsse(boolean useJsse)booleanuseJsse()
-
-
-
Method Detail
-
forConfig
public static SslConnectionParams forConfig(AccumuloConfiguration conf, boolean server)
-
setKeyStoreFromConf
public void setKeyStoreFromConf(AccumuloConfiguration conf) throws FileNotFoundException
- Throws:
FileNotFoundException
-
setTrustStoreFromConf
public void setTrustStoreFromConf(AccumuloConfiguration conf) throws FileNotFoundException
- Throws:
FileNotFoundException
-
forServer
public static SslConnectionParams forServer(AccumuloConfiguration configuration)
-
forClient
public static SslConnectionParams forClient(AccumuloConfiguration configuration)
-
setUseJsse
public void setUseJsse(boolean useJsse)
-
useJsse
public boolean useJsse()
-
setClientAuth
public void setClientAuth(boolean clientAuth)
-
isClientAuth
public boolean isClientAuth()
-
getServerProtocols
public String[] getServerProtocols()
-
getClientProtocol
public String getClientProtocol()
-
isKeyStoreSet
public boolean isKeyStoreSet()
-
getKeyStorePath
public String getKeyStorePath()
-
getKeyStorePass
public String getKeyStorePass()
- Returns:
- the keyStorePass
-
getKeyStoreType
public String getKeyStoreType()
-
isTrustStoreSet
public boolean isTrustStoreSet()
-
getTrustStorePath
public String getTrustStorePath()
-
getTrustStorePass
public String getTrustStorePass()
-
getTrustStoreType
public String getTrustStoreType()
- Returns:
- the trustStoreType
-
getTTransportParams
public org.apache.thrift.transport.TSSLTransportFactory.TSSLTransportParameters getTTransportParams()
-
-