You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by GitBox <gi...@apache.org> on 2021/10/28 03:01:01 UTC
[GitHub] [guacamole-client] TadashiKanda opened a new pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
TadashiKanda opened a new pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650
Addressed an issue with SSL communication failure events using mariadb connector/J.
Hope to include it in the next release. Thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] necouchman commented on a change in pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
necouchman commented on a change in pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#discussion_r738488722
##########
File path: extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java
##########
@@ -89,7 +89,9 @@ public MySQLAuthenticationProviderModule(MySQLEnvironment environment)
// For compatibility, set legacy useSSL property when SSL is disabled.
Review comment:
One more minor change request - can you update this comment so that it covers both cases (enabled and disabled).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] TadashiKanda commented on pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
TadashiKanda commented on pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#issuecomment-953968337
Added a comment. Check this out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] TadashiKanda edited a comment on pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
TadashiKanda edited a comment on pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#issuecomment-953968337
Thank you for confirmation.
Added a comment.
``` java
// For compatibility, set legacy useSSL property when SSL is disabled.
if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false");
// For compatibility, set legacy useSSL property when SSL is eisabled.(Required for mariadb connector/j)
else
driverProperties.setProperty("useSSL", "true");
```
Please check.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] TadashiKanda edited a comment on pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
TadashiKanda edited a comment on pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#issuecomment-953958346
Thank you for confirmation.
Corrected by referring to the change request and other "guacamole Source".
``` java
if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false");
else
driverProperties.setProperty("useSSL", "true");
```
please check. Thenk you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] necouchman merged pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MariaDB Connector/J
Posted by GitBox <gi...@apache.org>.
necouchman merged pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] TadashiKanda commented on pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
TadashiKanda commented on pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#issuecomment-953958346
Thank you for confirmation.
Corrected by referring to the change request and other "guacamole sauce".
``` java
if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false");
else
driverProperties.setProperty("useSSL", "true");
```
please check. Thenk you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] TadashiKanda edited a comment on pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
TadashiKanda edited a comment on pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#issuecomment-953968337
Added a comment. Check this out.
``` java
// For compatibility, set legacy useSSL property when SSL is disabled.
if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false");
// For compatibility, set legacy useSSL property when SSL is eisabled.(Required for mariadb connector/j)
else
driverProperties.setProperty("useSSL", "true");
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] necouchman commented on a change in pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
necouchman commented on a change in pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#discussion_r738319882
##########
File path: extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java
##########
@@ -87,9 +87,12 @@ public MySQLAuthenticationProviderModule(MySQLEnvironment environment)
driverProperties.setProperty("sslMode", sslMode.getDriverValue());
// For compatibility, set legacy useSSL property when SSL is disabled.
- if (sslMode == MySQLSSLMode.DISABLED)
+ if (sslMode == MySQLSSLMode.DISABLED) {
driverProperties.setProperty("useSSL", "false");
-
+ } else {
Review comment:
Please don't "cuddle" the braces here with the `else` statement. Should be:
```
}
else {
```
You don't even need the braces at all, but not so concerned about that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [guacamole-client] TadashiKanda edited a comment on pull request #650: GUACAMOLE-1453: Enable SSL connection between Guacamole and DB using MaraiDB Connector/J
Posted by GitBox <gi...@apache.org>.
TadashiKanda edited a comment on pull request #650:
URL: https://github.com/apache/guacamole-client/pull/650#issuecomment-953968337
Thank you for confirmation.
Added a comment. Check this out.
``` java
// For compatibility, set legacy useSSL property when SSL is disabled.
if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false");
// For compatibility, set legacy useSSL property when SSL is eisabled.(Required for mariadb connector/j)
else
driverProperties.setProperty("useSSL", "true");
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@guacamole.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org