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 boolean
equals(Object obj)
static SslConnectionParams
forClient(AccumuloConfiguration configuration)
static SslConnectionParams
forConfig(AccumuloConfiguration conf, boolean server)
static SslConnectionParams
forServer(AccumuloConfiguration configuration)
String
getClientProtocol()
String
getKeyStorePass()
String
getKeyStorePath()
String
getKeyStoreType()
String[]
getServerProtocols()
String
getTrustStorePass()
String
getTrustStorePath()
String
getTrustStoreType()
org.apache.thrift.transport.TSSLTransportFactory.TSSLTransportParameters
getTTransportParams()
int
hashCode()
boolean
isClientAuth()
boolean
isKeyStoreSet()
boolean
isTrustStoreSet()
void
setClientAuth(boolean clientAuth)
void
setKeyStoreFromConf(AccumuloConfiguration conf)
void
setTrustStoreFromConf(AccumuloConfiguration conf)
void
setUseJsse(boolean useJsse)
boolean
useJsse()
-
-
-
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()
-
-