public class

EncryptionModeConfigurationSSL

extends Object
implements EncryptionModeConfiguration
java.lang.Object
   ↳ com.microstrategy.webapi.EncryptionModeConfigurationSSL

Class Overview

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.

Summary

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(String truststorePath, char[] pwd)

The truststore contains public certificates of Intelligence Servers we intend to connect to.

synchronized void setTruststore(KeyStore trusted)
Please use setTruststore(String, char[]) instead.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static String getSSLProtocol ()

public synchronized void setKeystore (String keystorePath, char[] pwd)

Sets key store for client certificates (mutual authentication).

Throws
MSTRWebAPIException if an error occurs while configuring the key store

public static void setSSLProtocol (String protocol)

Sets the protocol to be used by SSLContext. This will only affect new contexts and sockets - existing ones will continue using the previous protocol.

Throws
NoSuchAlgorithmException

public synchronized void setTruststore (String truststorePath, char[] pwd)

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.

public synchronized void setTruststore (KeyStore trusted)

Please use setTruststore(String, char[]) instead. This method may be deprecated in the future.