org.apache.accumulo.core.util
Class SslConnectionParams
java.lang.Object
org.apache.accumulo.core.util.SslConnectionParams
public class SslConnectionParams
- extends Object
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()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2015 Apache Accumulo Project. All rights reserved.