|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thirdparty.thrift_0_9_0.transport.TSSLTransportFactory.TSSLTransportParameters
public static class TSSLTransportFactory.TSSLTransportParameters
A Class to hold all the SSL parameters
Constructor Summary | |
---|---|
TSSLTransportFactory.TSSLTransportParameters()
|
|
TSSLTransportFactory.TSSLTransportParameters(String protocol,
String[] cipherSuites)
Create parameters specifying the protocol and cipher suites |
|
TSSLTransportFactory.TSSLTransportParameters(String protocol,
String[] cipherSuites,
boolean clientAuth)
Create parameters specifying the protocol, cipher suites and if client authentication is required |
Method Summary | |
---|---|
void |
requireClientAuth(boolean clientAuth)
Set if client authentication is required |
void |
setKeyStore(String keyStore,
String keyPass)
Set the keystore and password |
void |
setKeyStore(String keyStore,
String keyPass,
String keyManagerType,
String keyStoreType)
Set the keystore, password, certificate type and the store type |
void |
setTrustStore(String trustStore,
String trustPass)
Set the truststore and password |
void |
setTrustStore(String trustStore,
String trustPass,
String trustManagerType,
String trustStoreType)
Set the truststore, password, certificate type and the store type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TSSLTransportFactory.TSSLTransportParameters()
public TSSLTransportFactory.TSSLTransportParameters(String protocol, String[] cipherSuites)
protocol
- The specific protocol (TLS/SSL) can be specified with versionscipherSuites
- public TSSLTransportFactory.TSSLTransportParameters(String protocol, String[] cipherSuites, boolean clientAuth)
protocol
- The specific protocol (TLS/SSL) can be specified with versionscipherSuites
- clientAuth
- Method Detail |
---|
public void setKeyStore(String keyStore, String keyPass, String keyManagerType, String keyStoreType)
keyStore
- Location of the Keystore on diskkeyPass
- Keystore passwordkeyManagerType
- The default is X509keyStoreType
- The default is JKSpublic void setKeyStore(String keyStore, String keyPass)
keyStore
- Location of the Keystore on diskkeyPass
- Keystore passwordpublic void setTrustStore(String trustStore, String trustPass, String trustManagerType, String trustStoreType)
trustStore
- Location of the Truststore on disktrustPass
- Truststore passwordtrustManagerType
- The default is X509trustStoreType
- The default is JKSpublic void setTrustStore(String trustStore, String trustPass)
trustStore
- Location of the Truststore on disktrustPass
- Truststore passwordpublic void requireClientAuth(boolean clientAuth)
clientAuth
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |