GUACAMOLE-1136: Return correct MYSQL_SSL_CLIENT_

MySQL Environment incorrectly returned MYSQL_SSL_TRUST_
parameters for the file and password, instead of the
expected MYSQL_SSL_CLIENT_ values.
This commit is contained in:
Richard Grime
2020-07-14 18:03:01 +00:00
parent 3c4c81f0b6
commit fea3fd3b77

View File

@@ -369,7 +369,7 @@ public class MySQLEnvironment extends JDBCEnvironment {
* If guacamole.properties cannot be parsed. * If guacamole.properties cannot be parsed.
*/ */
public File getMySQLSSLClientStore() throws GuacamoleException { public File getMySQLSSLClientStore() throws GuacamoleException {
return getProperty(MySQLGuacamoleProperties.MYSQL_SSL_TRUST_STORE); return getProperty(MySQLGuacamoleProperties.MYSQL_SSL_CLIENT_STORE);
} }
/** /**
@@ -384,7 +384,7 @@ public class MySQLEnvironment extends JDBCEnvironment {
* If guacamole.properties cannot be parsed. * If guacamole.properties cannot be parsed.
*/ */
public String getMYSQLSSLClientPassword() throws GuacamoleException { public String getMYSQLSSLClientPassword() throws GuacamoleException {
return getProperty(MySQLGuacamoleProperties.MYSQL_SSL_TRUST_PASSWORD); return getProperty(MySQLGuacamoleProperties.MYSQL_SSL_CLIENT_PASSWORD);
} }
@Override @Override