java.lang.Object | |
↳ | com.microstrategy.webapi.EncryptionModeConfigurationSSL |
Configuration parameters governing SSL communication with the Intelligence Server. Note that if new actions are added to this class, and they require new sockets to be created, clear() should be invoked.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static String | getSSLProtocol() | ||||||||||
synchronized void |
setKeystore(String keystorePath, char[] pwd)
Sets key store for client certificates (mutual authentication).
| ||||||||||
static void |
setSSLProtocol(String protocol)
Sets the protocol to be used by SSLContext.
| ||||||||||
synchronized void |
setTruststore(KeyStore trusted)
Please use
setTruststore(String, char[]) instead. | ||||||||||
synchronized void |
setTruststore(String truststorePath, char[] pwd)
The truststore contains public certificates of Intelligence Servers we intend to connect to. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Sets key store for client certificates (mutual authentication).
MSTRWebAPIException | if an error occurs while configuring the key store |
---|
Sets the protocol to be used by SSLContext. This will only affect new contexts and sockets - existing ones will continue using the previous protocol.
protocol | for options see Java Cryptography Architecture Standard Algorithm Name Documentation |
---|
NoSuchAlgorithmException |
---|
Please use setTruststore(String, char[])
instead.
This method may be deprecated in the future.
MSTRWebAPIException |
---|
The truststore contains public certificates of Intelligence Servers we intend to connect to. If not explicitly set, the default JVM truststore will be used. This is required if the Intelligence Server SSL is configured with self-signed certificates, i.e. not issued by root CAs recognized by the JVM.
MSTRWebAPIException |
---|