Package org.apache.accumulo.core.client
Interface AccumuloClient.SslOptions<T>
-
- All Superinterfaces:
AccumuloClient.ClientFactory<T>
- All Known Implementing Classes:
ClientContext.ClientBuilderImpl
- Enclosing interface:
- AccumuloClient
public static interface AccumuloClient.SslOptions<T> extends AccumuloClient.ClientFactory<T>
Build methods for SSL/TLS- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccumuloClient.SslOptions<T>
keystore(CharSequence path)
Build with SSL key storeAccumuloClient.SslOptions<T>
keystore(CharSequence path, CharSequence password, CharSequence type)
Build with SSL key storeAccumuloClient.SslOptions<T>
truststore(CharSequence path)
Build with SSL trust storeAccumuloClient.SslOptions<T>
truststore(CharSequence path, CharSequence password, CharSequence type)
Build with SSL trust storeAccumuloClient.SslOptions<T>
useJsse()
Use JSSE system properties to configure SSL-
Methods inherited from interface org.apache.accumulo.core.client.AccumuloClient.ClientFactory
build, withUncaughtExceptionHandler
-
-
-
-
Method Detail
-
truststore
AccumuloClient.SslOptions<T> truststore(CharSequence path)
Build with SSL trust store- Parameters:
path
- Path to trust store- Returns:
- this builder
-
truststore
AccumuloClient.SslOptions<T> truststore(CharSequence path, CharSequence password, CharSequence type)
Build with SSL trust store- Parameters:
path
- Path to trust storepassword
- Password used to encrypt trust storetype
- Trust store type- Returns:
- this builder
-
keystore
AccumuloClient.SslOptions<T> keystore(CharSequence path)
Build with SSL key store- Parameters:
path
- Path to SSL key store- Returns:
- this builder
-
keystore
AccumuloClient.SslOptions<T> keystore(CharSequence path, CharSequence password, CharSequence type)
Build with SSL key store- Parameters:
path
- Path to keystorepassword
- Password used to encrypt key storetype
- Key store type- Returns:
- this builder
-
useJsse
AccumuloClient.SslOptions<T> useJsse()
Use JSSE system properties to configure SSL- Returns:
- this builder
-
-