Skip to content

Commit

Permalink
Merge staging/1.2.0 changes back to master.
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman committed Jun 14, 2020
2 parents 4fec463 + 678c772 commit 2bbd039
Show file tree
Hide file tree
Showing 23 changed files with 780 additions and 539 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package org.apache.guacamole.auth.mysql;

import org.apache.guacamole.properties.EnumGuacamoleProperty.PropertyValue;

/**
* The possible JDBC drivers to use when talking to a MySQL-compatible database
* server.
Expand All @@ -28,10 +30,12 @@ public enum MySQLDriver {
/**
* MySQL driver.
*/
@PropertyValue("mysql")
MYSQL,

/**
* MariaDB driver.
*/
@PropertyValue("mariadb")
MARIADB;
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package org.apache.guacamole.auth.mysql;

import org.apache.guacamole.properties.BooleanGuacamoleProperty;
import org.apache.guacamole.properties.EnumGuacamoleProperty;
import org.apache.guacamole.properties.IntegerGuacamoleProperty;
import org.apache.guacamole.properties.StringGuacamoleProperty;

Expand All @@ -36,8 +37,8 @@ private MySQLGuacamoleProperties() {}
/**
* The JDBC driver that should be used to talk to MySQL-compatible servers.
*/
public static final MySQLDriverProperty MYSQL_DRIVER =
new MySQLDriverProperty() {
public static final EnumGuacamoleProperty<MySQLDriver> MYSQL_DRIVER =
new EnumGuacamoleProperty<MySQLDriver>(MySQLDriver.class) {

@Override
public String getName() { return "mysql-driver"; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package org.apache.guacamole.auth.sqlserver;

import org.apache.guacamole.properties.EnumGuacamoleProperty.PropertyValue;

/**
* The possible SQL Server drivers to use when using a TDS-compatible database.
*/
Expand All @@ -27,20 +29,24 @@ public enum SQLServerDriver {
/**
* The open source jTDS driver.
*/
@PropertyValue("jtds")
JTDS,

/**
* The Progress DataDirect driver.
*/
@PropertyValue("datadirect")
DATA_DIRECT,

/**
* The Microsoft Legacy SQL Server driver.
*/
@PropertyValue("microsoft")
MICROSOFT_LEGACY,

/**
* The Microsoft 2005 SQL Server driver.
*/
@PropertyValue("microsoft2005")
MICROSOFT_2005;
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package org.apache.guacamole.auth.sqlserver;

import org.apache.guacamole.properties.BooleanGuacamoleProperty;
import org.apache.guacamole.properties.EnumGuacamoleProperty;
import org.apache.guacamole.properties.IntegerGuacamoleProperty;
import org.apache.guacamole.properties.StringGuacamoleProperty;

Expand Down Expand Up @@ -174,8 +175,8 @@ private SQLServerGuacamoleProperties() {}
/**
* Which TDS-compatible JDBC driver should be used for the connection.
*/
public static final SQLServerDriverProperty
SQLSERVER_DRIVER = new SQLServerDriverProperty() {
public static final EnumGuacamoleProperty<SQLServerDriver>
SQLSERVER_DRIVER = new EnumGuacamoleProperty<SQLServerDriver>(SQLServerDriver.class) {

@Override
public String getName() { return "sqlserver-driver"; }
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package org.apache.guacamole.auth.ldap.conf;

import org.apache.guacamole.properties.EnumGuacamoleProperty.PropertyValue;

/**
* All possible encryption methods which may be used when connecting to an LDAP
* server.
Expand All @@ -29,19 +31,22 @@ public enum EncryptionMethod {
* No encryption will be used. All data will be sent to the LDAP server in
* plaintext. Unencrypted LDAP connections use port 389 by default.
*/
@PropertyValue("none")
NONE(389),

/**
* The connection to the LDAP server will be encrypted with SSL. LDAP over
* SSL (LDAPS) will use port 636 by default.
*/
@PropertyValue("ssl")
SSL(636),

/**
* The connection to the LDAP server will be encrypted using STARTTLS. TLS
* connections are negotiated over the standard LDAP port of 389 - the same
* port used for unencrypted traffic.
*/
@PropertyValue("starttls")
STARTTLS(389);

/**
Expand Down

This file was deleted.

Loading

0 comments on commit 2bbd039

Please sign in to comment.