Package org.apache.accumulo.core.client
Interface AccumuloClient.SslOptions<T>
- All Superinterfaces:
AccumuloClient.ClientFactory<T>
- Enclosing interface:
- AccumuloClient
Build methods for SSL/TLS
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionkeystore
(CharSequence path) Build with SSL key storekeystore
(CharSequence path, CharSequence password, CharSequence type) Build with SSL key storetruststore
(CharSequence path) Build with SSL trust storetruststore
(CharSequence path, CharSequence password, CharSequence type) Build with SSL trust storeuseJsse()
Use JSSE system properties to configure SSLMethods inherited from interface org.apache.accumulo.core.client.AccumuloClient.ClientFactory
build, withUncaughtExceptionHandler
-
Method Details
-
truststore
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
Build with SSL key store- Parameters:
path
- Path to SSL key store- Returns:
- this builder
-
keystore
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
-