mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1135: Merge return MySQL StoreUrls in URI format
This commit is contained in:
@@ -95,7 +95,7 @@ public class MySQLAuthenticationProviderModule implements Module {
|
|||||||
File trustStore = environment.getMySQLSSLTrustStore();
|
File trustStore = environment.getMySQLSSLTrustStore();
|
||||||
if (trustStore != null)
|
if (trustStore != null)
|
||||||
driverProperties.setProperty("trustCertificateKeyStoreUrl",
|
driverProperties.setProperty("trustCertificateKeyStoreUrl",
|
||||||
trustStore.getAbsolutePath());
|
trustStore.toURI().toString());
|
||||||
|
|
||||||
String trustPassword = environment.getMySQLSSLTrustPassword();
|
String trustPassword = environment.getMySQLSSLTrustPassword();
|
||||||
if (trustPassword != null)
|
if (trustPassword != null)
|
||||||
@@ -105,7 +105,7 @@ public class MySQLAuthenticationProviderModule implements Module {
|
|||||||
File clientStore = environment.getMySQLSSLClientStore();
|
File clientStore = environment.getMySQLSSLClientStore();
|
||||||
if (clientStore != null)
|
if (clientStore != null)
|
||||||
driverProperties.setProperty("clientCertificateKeyStoreUrl",
|
driverProperties.setProperty("clientCertificateKeyStoreUrl",
|
||||||
clientStore.getAbsolutePath());
|
clientStore.toURI().toString());
|
||||||
|
|
||||||
String clientPassword = environment.getMYSQLSSLClientPassword();
|
String clientPassword = environment.getMYSQLSSLClientPassword();
|
||||||
if (clientPassword != null)
|
if (clientPassword != null)
|
||||||
|
Reference in New Issue
Block a user