org.apache.accumulo.core.util
Class SslConnectionParams

java.lang.Object
  extended by org.apache.accumulo.core.util.SslConnectionParams

public class SslConnectionParams
extends Object


Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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()

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.