GUACAMOLE-1453: Reflect of indicate.

This commit is contained in:
Tadashi Kanda
2021-10-28 23:53:13 +09:00
parent 3b34d2cd73
commit d722c3a759

View File

@@ -87,11 +87,10 @@ public class MySQLAuthenticationProviderModule implements Module {
driverProperties.setProperty("sslMode", sslMode.getDriverValue()); driverProperties.setProperty("sslMode", sslMode.getDriverValue());
// For compatibility, set legacy useSSL property when SSL is disabled. // For compatibility, set legacy useSSL property when SSL is disabled.
if (sslMode == MySQLSSLMode.DISABLED) { if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false"); driverProperties.setProperty("useSSL", "false");
} else { else
driverProperties.setProperty("useSSL", "true"); driverProperties.setProperty("useSSL", "true");
}
// Check other SSL settings and set as required // Check other SSL settings and set as required
File trustStore = environment.getMySQLSSLTrustStore(); File trustStore = environment.getMySQLSSLTrustStore();