56 this.hostNameOrIP = hostNameOrIP;
57 this.portNumber = portNumber;
58 this.userName = userName;
59 this.password = password;
60 this.sslEnabled =
false;
61 this.sslVerify =
false;
63 throw new IllegalArgumentException(
"SQLite database type invalid for CaseDbConnectionInfo. CaseDbConnectionInfo should be used only for remote database types.");
66 this.customSslValidationClassName =
"";
98 boolean sslEnabled,
boolean sslVerify, String customSslValidationClassName) {
99 this.hostNameOrIP = hostNameOrIP;
100 this.portNumber = portNumber;
101 this.userName = userName;
102 this.password = password;
103 this.sslEnabled = sslEnabled;
104 this.sslVerify = sslVerify;
106 throw new IllegalArgumentException(
"SQLite database type invalid for CaseDbConnectionInfo. CaseDbConnectionInfo should be used only for remote database types.");
108 this.dbType = dbType;
109 this.customSslValidationClassName = customSslValidationClassName;