mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-728: Use correct sslMode options for passing to JDBC driver.
This commit is contained in:
@@ -23,7 +23,6 @@ import com.google.inject.Binder;
|
||||
import com.google.inject.Module;
|
||||
import com.google.inject.name.Names;
|
||||
import java.io.File;
|
||||
import java.net.URI;
|
||||
import java.util.Properties;
|
||||
import org.apache.guacamole.GuacamoleException;
|
||||
import org.apache.guacamole.auth.mysql.conf.MySQLDriver;
|
||||
|
@@ -30,32 +30,32 @@ public enum MySQLSSLMode {
|
||||
* Do not use SSL at all.
|
||||
*/
|
||||
@PropertyValue("disabled")
|
||||
DISABLED("disabled"),
|
||||
DISABLED("DISABLED"),
|
||||
|
||||
/**
|
||||
* Prefer SSL, but fall back to unencrypted.
|
||||
*/
|
||||
@PropertyValue("preferred")
|
||||
PREFERRED("preferred"),
|
||||
PREFERRED("PREFERRED"),
|
||||
|
||||
/**
|
||||
* Require SSL, but perform no certificate validation.
|
||||
*/
|
||||
@PropertyValue("required")
|
||||
REQUIRED("required"),
|
||||
REQUIRED("REQUIRED"),
|
||||
|
||||
/**
|
||||
* Require SSL, and validate server certificate issuer.
|
||||
*/
|
||||
@PropertyValue("verify-ca")
|
||||
VERIFY_CA("verify-ca"),
|
||||
VERIFY_CA("VERIFY_CA"),
|
||||
|
||||
/**
|
||||
* Require SSL and validate both server certificate issuer and server
|
||||
* identity.
|
||||
*/
|
||||
@PropertyValue("verify-identity")
|
||||
VERIFY_IDENTITY("verify-identity");
|
||||
VERIFY_IDENTITY("VERIFY_IDENTITY");
|
||||
|
||||
/**
|
||||
* The value expected by and passed on to the JDBC driver for the given
|
||||
|
Reference in New Issue
Block a user