diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/ConnectionDirectory.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/ConnectionDirectory.java index 894bc3499..abf5c43af 100644 --- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/ConnectionDirectory.java +++ b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/ConnectionDirectory.java @@ -57,7 +57,7 @@ import org.mybatis.guice.transactional.Transactional; /** * A MySQL-based implementation of the connection directory. - * + * * @author James Muehlner */ public class ConnectionDirectory implements Directory{ @@ -171,7 +171,7 @@ public class ConnectionDirectory implements Directory{ /** * Inserts all parameter values from the given configuration into the * database, associating them with the connection having the givenID. - * + * * @param connection_id The ID of the connection to associate all * parameters with. * @param config The GuacamoleConfiguration to read parameters from. @@ -219,7 +219,7 @@ public class ConnectionDirectory implements Directory{ ConnectionParameterExample parameterExample = new ConnectionParameterExample(); parameterExample.createCriteria().andConnection_idEqualTo(connection.getConnection_id()); connectionParameterDAO.deleteByExample(parameterExample); - + // Add connection parameters createConfigurationValues(connection.getConnection_id(), object.getConfiguration()); diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/MySQLConnection.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/MySQLConnection.java index 2eae0e17a..e54bc2a7f 100644 --- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/MySQLConnection.java +++ b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/MySQLConnection.java @@ -68,9 +68,15 @@ public class MySQLConnection extends AbstractConnection { */ private List history = new ArrayList(); + /** + * Service for creating and retrieving objects. + */ @Inject private ProviderService providerService; + /** + * Set of all currently active connections. + */ @Inject private ActiveConnectionSet activeConnectionSet;