commit | d32ebd656a9682f7c2a498221ddcc5772c4e5a8e | [log] [tgz] |
---|---|---|
author | Richard Grime <richard.grime@gmail.com> | Wed Aug 05 08:52:54 2020 +0000 |
committer | Richard Grime <richard.grime@gmail.com> | Wed Aug 05 08:52:54 2020 +0000 |
tree | d5f5f5397d818b51bce2129e5d0caafe041976ec | |
parent | 3c4c81f0b6b9700abccaefcc695058e515b8b20b [diff] |
GUACAMOLE-1135: Return StoreUrls in URI format
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java index 4e4f35e..92bc541 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java
@@ -95,7 +95,7 @@ File trustStore = environment.getMySQLSSLTrustStore(); if (trustStore != null) driverProperties.setProperty("trustCertificateKeyStoreUrl", - trustStore.getAbsolutePath()); + trustStore.toURI().toString()); String trustPassword = environment.getMySQLSSLTrustPassword(); if (trustPassword != null) @@ -105,7 +105,7 @@ File clientStore = environment.getMySQLSSLClientStore(); if (clientStore != null) driverProperties.setProperty("clientCertificateKeyStoreUrl", - clientStore.getAbsolutePath()); + clientStore.toURI().toString()); String clientPassword = environment.getMYSQLSSLClientPassword(); if (clientPassword != null)