diff --git a/extensions/guacamole-auth-mysql/schema/guacamole-auth-mysql-create-default-user.sql b/extensions/guacamole-auth-mysql/doc/example/create-admin-user.sql
similarity index 100%
rename from extensions/guacamole-auth-mysql/schema/guacamole-auth-mysql-create-default-user.sql
rename to extensions/guacamole-auth-mysql/doc/example/create-admin-user.sql
diff --git a/extensions/guacamole-auth-mysql/doc/example/settings.xml b/extensions/guacamole-auth-mysql/doc/example/settings.xml
new file mode 100644
index 000000000..d0fb6d5bd
--- /dev/null
+++ b/extensions/guacamole-auth-mysql/doc/example/settings.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+ guacamole-mybatis
+
+ SCHEMA
+ DATABASE
+ USER
+ PASS
+
+
+
+
+
+
+ guacamole-mybatis
+
+
+
diff --git a/extensions/guacamole-auth-mysql/doc/examples/mybatisGeneratorConfig.xml b/extensions/guacamole-auth-mysql/doc/examples/mybatisGeneratorConfig.xml
deleted file mode 100644
index 04f72f78f..000000000
--- a/extensions/guacamole-auth-mysql/doc/examples/mybatisGeneratorConfig.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/extensions/guacamole-auth-mysql/pom.xml b/extensions/guacamole-auth-mysql/pom.xml
index a1924b376..e4603b622 100644
--- a/extensions/guacamole-auth-mysql/pom.xml
+++ b/extensions/guacamole-auth-mysql/pom.xml
@@ -48,6 +48,32 @@
+
+
+ org.mybatis.generator
+ mybatis-generator-maven-plugin
+ 1.3.0
+
+
+
+ Generate MyBatis Artifacts
+
+ generate
+
+
+
+
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.23
+
+
+
+
+
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionHistoryMapper.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionHistoryMapper.java
deleted file mode 100644
index 8a28bdc8c..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionHistoryMapper.java
+++ /dev/null
@@ -1,96 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.dao;
-
-import java.util.List;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionHistory;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionHistoryExample;
-import org.apache.ibatis.annotations.Param;
-
-public interface ConnectionHistoryMapper {
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int countByExample(ConnectionHistoryExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByExample(ConnectionHistoryExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByPrimaryKey(Integer history_id);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insert(ConnectionHistory record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insertSelective(ConnectionHistory record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExample(ConnectionHistoryExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- ConnectionHistory selectByPrimaryKey(Integer history_id);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleSelective(@Param("record") ConnectionHistory record, @Param("example") ConnectionHistoryExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExample(@Param("record") ConnectionHistory record, @Param("example") ConnectionHistoryExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKeySelective(ConnectionHistory record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKey(ConnectionHistory record);
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionMapper.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionMapper.java
deleted file mode 100644
index 659e11ef6..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionMapper.java
+++ /dev/null
@@ -1,96 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.dao;
-
-import java.util.List;
-import net.sourceforge.guacamole.net.auth.mysql.model.Connection;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionExample;
-import org.apache.ibatis.annotations.Param;
-
-public interface ConnectionMapper {
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int countByExample(ConnectionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByExample(ConnectionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByPrimaryKey(Integer connection_id);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insert(Connection record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insertSelective(Connection record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExample(ConnectionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- Connection selectByPrimaryKey(Integer connection_id);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleSelective(@Param("record") Connection record, @Param("example") ConnectionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExample(@Param("record") Connection record, @Param("example") ConnectionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKeySelective(Connection record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKey(Connection record);
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionParameterMapper.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionParameterMapper.java
deleted file mode 100644
index cd4b1df63..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionParameterMapper.java
+++ /dev/null
@@ -1,97 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.dao;
-
-import java.util.List;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionParameter;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionParameterExample;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionParameterKey;
-import org.apache.ibatis.annotations.Param;
-
-public interface ConnectionParameterMapper {
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int countByExample(ConnectionParameterExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByExample(ConnectionParameterExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByPrimaryKey(ConnectionParameterKey key);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insert(ConnectionParameter record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insertSelective(ConnectionParameter record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExample(ConnectionParameterExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- ConnectionParameter selectByPrimaryKey(ConnectionParameterKey key);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleSelective(@Param("record") ConnectionParameter record, @Param("example") ConnectionParameterExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExample(@Param("record") ConnectionParameter record, @Param("example") ConnectionParameterExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKeySelective(ConnectionParameter record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKey(ConnectionParameter record);
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionPermissionMapper.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionPermissionMapper.java
deleted file mode 100644
index 5ba73ce6d..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionPermissionMapper.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.dao;
-
-import java.util.List;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionPermissionExample;
-import net.sourceforge.guacamole.net.auth.mysql.model.ConnectionPermissionKey;
-import org.apache.ibatis.annotations.Param;
-
-public interface ConnectionPermissionMapper {
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int countByExample(ConnectionPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByExample(ConnectionPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByPrimaryKey(ConnectionPermissionKey key);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insert(ConnectionPermissionKey record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insertSelective(ConnectionPermissionKey record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExample(ConnectionPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleSelective(@Param("record") ConnectionPermissionKey record, @Param("example") ConnectionPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExample(@Param("record") ConnectionPermissionKey record, @Param("example") ConnectionPermissionExample example);
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/SystemPermissionMapper.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/SystemPermissionMapper.java
deleted file mode 100644
index 1d12f9e07..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/SystemPermissionMapper.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.dao;
-
-import java.util.List;
-import net.sourceforge.guacamole.net.auth.mysql.model.SystemPermissionExample;
-import net.sourceforge.guacamole.net.auth.mysql.model.SystemPermissionKey;
-import org.apache.ibatis.annotations.Param;
-
-public interface SystemPermissionMapper {
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int countByExample(SystemPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByExample(SystemPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByPrimaryKey(SystemPermissionKey key);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insert(SystemPermissionKey record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insertSelective(SystemPermissionKey record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExample(SystemPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleSelective(@Param("record") SystemPermissionKey record, @Param("example") SystemPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExample(@Param("record") SystemPermissionKey record, @Param("example") SystemPermissionExample example);
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/UserMapper.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/UserMapper.java
deleted file mode 100644
index acbcfd299..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/UserMapper.java
+++ /dev/null
@@ -1,121 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.dao;
-
-import java.util.List;
-import net.sourceforge.guacamole.net.auth.mysql.model.User;
-import net.sourceforge.guacamole.net.auth.mysql.model.UserExample;
-import net.sourceforge.guacamole.net.auth.mysql.model.UserWithBLOBs;
-import org.apache.ibatis.annotations.Param;
-
-public interface UserMapper {
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int countByExample(UserExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByExample(UserExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByPrimaryKey(Integer user_id);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insert(UserWithBLOBs record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insertSelective(UserWithBLOBs record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExampleWithBLOBs(UserExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExample(UserExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- UserWithBLOBs selectByPrimaryKey(Integer user_id);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleSelective(@Param("record") UserWithBLOBs record, @Param("example") UserExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleWithBLOBs(@Param("record") UserWithBLOBs record, @Param("example") UserExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExample(@Param("record") User record, @Param("example") UserExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKeySelective(UserWithBLOBs record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKeyWithBLOBs(UserWithBLOBs record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByPrimaryKey(User record);
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/UserPermissionMapper.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/UserPermissionMapper.java
deleted file mode 100644
index 132d00eca..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/dao/UserPermissionMapper.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.dao;
-
-import java.util.List;
-import net.sourceforge.guacamole.net.auth.mysql.model.UserPermissionExample;
-import net.sourceforge.guacamole.net.auth.mysql.model.UserPermissionKey;
-import org.apache.ibatis.annotations.Param;
-
-public interface UserPermissionMapper {
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int countByExample(UserPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByExample(UserPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int deleteByPrimaryKey(UserPermissionKey key);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insert(UserPermissionKey record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int insertSelective(UserPermissionKey record);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- List selectByExample(UserPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExampleSelective(@Param("record") UserPermissionKey record, @Param("example") UserPermissionExample example);
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- int updateByExample(@Param("record") UserPermissionKey record, @Param("example") UserPermissionExample example);
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/Connection.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/Connection.java
deleted file mode 100644
index 3be686d99..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/Connection.java
+++ /dev/null
@@ -1,99 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class Connection {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer connection_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection.connection_name
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String connection_name;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection.protocol
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String protocol;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection.connection_id
- *
- * @return the value of guacamole..guacamole_connection.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getConnection_id() {
- return connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection.connection_id
- *
- * @param connection_id the value for guacamole..guacamole_connection.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setConnection_id(Integer connection_id) {
- this.connection_id = connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection.connection_name
- *
- * @return the value of guacamole..guacamole_connection.connection_name
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getConnection_name() {
- return connection_name;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection.connection_name
- *
- * @param connection_name the value for guacamole..guacamole_connection.connection_name
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setConnection_name(String connection_name) {
- this.connection_name = connection_name;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection.protocol
- *
- * @return the value of guacamole..guacamole_connection.protocol
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getProtocol() {
- return protocol;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection.protocol
- *
- * @param protocol the value for guacamole..guacamole_connection.protocol
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setProtocol(String protocol) {
- this.protocol = protocol;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionExample.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionExample.java
deleted file mode 100644
index 4e5d37c61..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionExample.java
+++ /dev/null
@@ -1,502 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class ConnectionExample {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected String orderByClause;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected boolean distinct;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected List oredCriteria;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public ConnectionExample() {
- oredCriteria = new ArrayList();
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getOrderByClause() {
- return orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setDistinct(boolean distinct) {
- this.distinct = distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public boolean isDistinct() {
- return distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public List getOredCriteria() {
- return oredCriteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria or() {
- Criteria criteria = createCriteriaInternal();
- oredCriteria.add(criteria);
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria createCriteria() {
- Criteria criteria = createCriteriaInternal();
- if (oredCriteria.size() == 0) {
- oredCriteria.add(criteria);
- }
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void clear() {
- oredCriteria.clear();
- orderByClause = null;
- distinct = false;
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected abstract static class GeneratedCriteria {
- protected List criteria;
-
- protected GeneratedCriteria() {
- super();
- criteria = new ArrayList();
- }
-
- public boolean isValid() {
- return criteria.size() > 0;
- }
-
- public List getAllCriteria() {
- return criteria;
- }
-
- public List getCriteria() {
- return criteria;
- }
-
- protected void addCriterion(String condition) {
- if (condition == null) {
- throw new RuntimeException("Value for condition cannot be null");
- }
- criteria.add(new Criterion(condition));
- }
-
- protected void addCriterion(String condition, Object value, String property) {
- if (value == null) {
- throw new RuntimeException("Value for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value));
- }
-
- protected void addCriterion(String condition, Object value1, Object value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value1, value2));
- }
-
- public Criteria andConnection_idIsNull() {
- addCriterion("connection_id is null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIsNotNull() {
- addCriterion("connection_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idEqualTo(Integer value) {
- addCriterion("connection_id =", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotEqualTo(Integer value) {
- addCriterion("connection_id <>", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThan(Integer value) {
- addCriterion("connection_id >", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("connection_id >=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThan(Integer value) {
- addCriterion("connection_id <", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThanOrEqualTo(Integer value) {
- addCriterion("connection_id <=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIn(List values) {
- addCriterion("connection_id in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotIn(List values) {
- addCriterion("connection_id not in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idBetween(Integer value1, Integer value2) {
- addCriterion("connection_id between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotBetween(Integer value1, Integer value2) {
- addCriterion("connection_id not between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameIsNull() {
- addCriterion("connection_name is null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameIsNotNull() {
- addCriterion("connection_name is not null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameEqualTo(String value) {
- addCriterion("connection_name =", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameNotEqualTo(String value) {
- addCriterion("connection_name <>", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameGreaterThan(String value) {
- addCriterion("connection_name >", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameGreaterThanOrEqualTo(String value) {
- addCriterion("connection_name >=", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameLessThan(String value) {
- addCriterion("connection_name <", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameLessThanOrEqualTo(String value) {
- addCriterion("connection_name <=", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameLike(String value) {
- addCriterion("connection_name like", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameNotLike(String value) {
- addCriterion("connection_name not like", value, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameIn(List values) {
- addCriterion("connection_name in", values, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameNotIn(List values) {
- addCriterion("connection_name not in", values, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameBetween(String value1, String value2) {
- addCriterion("connection_name between", value1, value2, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andConnection_nameNotBetween(String value1, String value2) {
- addCriterion("connection_name not between", value1, value2, "connection_name");
- return (Criteria) this;
- }
-
- public Criteria andProtocolIsNull() {
- addCriterion("protocol is null");
- return (Criteria) this;
- }
-
- public Criteria andProtocolIsNotNull() {
- addCriterion("protocol is not null");
- return (Criteria) this;
- }
-
- public Criteria andProtocolEqualTo(String value) {
- addCriterion("protocol =", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolNotEqualTo(String value) {
- addCriterion("protocol <>", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolGreaterThan(String value) {
- addCriterion("protocol >", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolGreaterThanOrEqualTo(String value) {
- addCriterion("protocol >=", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolLessThan(String value) {
- addCriterion("protocol <", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolLessThanOrEqualTo(String value) {
- addCriterion("protocol <=", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolLike(String value) {
- addCriterion("protocol like", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolNotLike(String value) {
- addCriterion("protocol not like", value, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolIn(List values) {
- addCriterion("protocol in", values, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolNotIn(List values) {
- addCriterion("protocol not in", values, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolBetween(String value1, String value2) {
- addCriterion("protocol between", value1, value2, "protocol");
- return (Criteria) this;
- }
-
- public Criteria andProtocolNotBetween(String value1, String value2) {
- addCriterion("protocol not between", value1, value2, "protocol");
- return (Criteria) this;
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated do_not_delete_during_merge Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criteria extends GeneratedCriteria {
-
- protected Criteria() {
- super();
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criterion {
- private String condition;
-
- private Object value;
-
- private Object secondValue;
-
- private boolean noValue;
-
- private boolean singleValue;
-
- private boolean betweenValue;
-
- private boolean listValue;
-
- private String typeHandler;
-
- public String getCondition() {
- return condition;
- }
-
- public Object getValue() {
- return value;
- }
-
- public Object getSecondValue() {
- return secondValue;
- }
-
- public boolean isNoValue() {
- return noValue;
- }
-
- public boolean isSingleValue() {
- return singleValue;
- }
-
- public boolean isBetweenValue() {
- return betweenValue;
- }
-
- public boolean isListValue() {
- return listValue;
- }
-
- public String getTypeHandler() {
- return typeHandler;
- }
-
- protected Criterion(String condition) {
- super();
- this.condition = condition;
- this.typeHandler = null;
- this.noValue = true;
- }
-
- protected Criterion(String condition, Object value, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.typeHandler = typeHandler;
- if (value instanceof List>) {
- this.listValue = true;
- } else {
- this.singleValue = true;
- }
- }
-
- protected Criterion(String condition, Object value) {
- this(condition, value, null);
- }
-
- protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.secondValue = secondValue;
- this.typeHandler = typeHandler;
- this.betweenValue = true;
- }
-
- protected Criterion(String condition, Object value, Object secondValue) {
- this(condition, value, secondValue, null);
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionHistory.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionHistory.java
deleted file mode 100644
index 937a7b989..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionHistory.java
+++ /dev/null
@@ -1,165 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.Date;
-
-public class ConnectionHistory {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_history.history_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer history_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_history.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer user_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_history.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer connection_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_history.start_date
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Date start_date;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_history.end_date
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Date end_date;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_history.history_id
- *
- * @return the value of guacamole..guacamole_connection_history.history_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getHistory_id() {
- return history_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_history.history_id
- *
- * @param history_id the value for guacamole..guacamole_connection_history.history_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setHistory_id(Integer history_id) {
- this.history_id = history_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_history.user_id
- *
- * @return the value of guacamole..guacamole_connection_history.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getUser_id() {
- return user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_history.user_id
- *
- * @param user_id the value for guacamole..guacamole_connection_history.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setUser_id(Integer user_id) {
- this.user_id = user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_history.connection_id
- *
- * @return the value of guacamole..guacamole_connection_history.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getConnection_id() {
- return connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_history.connection_id
- *
- * @param connection_id the value for guacamole..guacamole_connection_history.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setConnection_id(Integer connection_id) {
- this.connection_id = connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_history.start_date
- *
- * @return the value of guacamole..guacamole_connection_history.start_date
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Date getStart_date() {
- return start_date;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_history.start_date
- *
- * @param start_date the value for guacamole..guacamole_connection_history.start_date
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setStart_date(Date start_date) {
- this.start_date = start_date;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_history.end_date
- *
- * @return the value of guacamole..guacamole_connection_history.end_date
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Date getEnd_date() {
- return end_date;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_history.end_date
- *
- * @param end_date the value for guacamole..guacamole_connection_history.end_date
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setEnd_date(Date end_date) {
- this.end_date = end_date;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionHistoryExample.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionHistoryExample.java
deleted file mode 100644
index 2d3db94e8..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionHistoryExample.java
+++ /dev/null
@@ -1,603 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class ConnectionHistoryExample {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected String orderByClause;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected boolean distinct;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected List oredCriteria;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public ConnectionHistoryExample() {
- oredCriteria = new ArrayList();
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getOrderByClause() {
- return orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setDistinct(boolean distinct) {
- this.distinct = distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public boolean isDistinct() {
- return distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public List getOredCriteria() {
- return oredCriteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria or() {
- Criteria criteria = createCriteriaInternal();
- oredCriteria.add(criteria);
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria createCriteria() {
- Criteria criteria = createCriteriaInternal();
- if (oredCriteria.size() == 0) {
- oredCriteria.add(criteria);
- }
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void clear() {
- oredCriteria.clear();
- orderByClause = null;
- distinct = false;
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected abstract static class GeneratedCriteria {
- protected List criteria;
-
- protected GeneratedCriteria() {
- super();
- criteria = new ArrayList();
- }
-
- public boolean isValid() {
- return criteria.size() > 0;
- }
-
- public List getAllCriteria() {
- return criteria;
- }
-
- public List getCriteria() {
- return criteria;
- }
-
- protected void addCriterion(String condition) {
- if (condition == null) {
- throw new RuntimeException("Value for condition cannot be null");
- }
- criteria.add(new Criterion(condition));
- }
-
- protected void addCriterion(String condition, Object value, String property) {
- if (value == null) {
- throw new RuntimeException("Value for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value));
- }
-
- protected void addCriterion(String condition, Object value1, Object value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value1, value2));
- }
-
- public Criteria andHistory_idIsNull() {
- addCriterion("history_id is null");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idIsNotNull() {
- addCriterion("history_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idEqualTo(Integer value) {
- addCriterion("history_id =", value, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idNotEqualTo(Integer value) {
- addCriterion("history_id <>", value, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idGreaterThan(Integer value) {
- addCriterion("history_id >", value, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("history_id >=", value, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idLessThan(Integer value) {
- addCriterion("history_id <", value, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idLessThanOrEqualTo(Integer value) {
- addCriterion("history_id <=", value, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idIn(List values) {
- addCriterion("history_id in", values, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idNotIn(List values) {
- addCriterion("history_id not in", values, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idBetween(Integer value1, Integer value2) {
- addCriterion("history_id between", value1, value2, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andHistory_idNotBetween(Integer value1, Integer value2) {
- addCriterion("history_id not between", value1, value2, "history_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIsNull() {
- addCriterion("user_id is null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIsNotNull() {
- addCriterion("user_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idEqualTo(Integer value) {
- addCriterion("user_id =", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotEqualTo(Integer value) {
- addCriterion("user_id <>", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThan(Integer value) {
- addCriterion("user_id >", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("user_id >=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThan(Integer value) {
- addCriterion("user_id <", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThanOrEqualTo(Integer value) {
- addCriterion("user_id <=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIn(List values) {
- addCriterion("user_id in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotIn(List values) {
- addCriterion("user_id not in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idBetween(Integer value1, Integer value2) {
- addCriterion("user_id between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotBetween(Integer value1, Integer value2) {
- addCriterion("user_id not between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIsNull() {
- addCriterion("connection_id is null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIsNotNull() {
- addCriterion("connection_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idEqualTo(Integer value) {
- addCriterion("connection_id =", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotEqualTo(Integer value) {
- addCriterion("connection_id <>", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThan(Integer value) {
- addCriterion("connection_id >", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("connection_id >=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThan(Integer value) {
- addCriterion("connection_id <", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThanOrEqualTo(Integer value) {
- addCriterion("connection_id <=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIn(List values) {
- addCriterion("connection_id in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotIn(List values) {
- addCriterion("connection_id not in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idBetween(Integer value1, Integer value2) {
- addCriterion("connection_id between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotBetween(Integer value1, Integer value2) {
- addCriterion("connection_id not between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateIsNull() {
- addCriterion("start_date is null");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateIsNotNull() {
- addCriterion("start_date is not null");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateEqualTo(Date value) {
- addCriterion("start_date =", value, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateNotEqualTo(Date value) {
- addCriterion("start_date <>", value, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateGreaterThan(Date value) {
- addCriterion("start_date >", value, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateGreaterThanOrEqualTo(Date value) {
- addCriterion("start_date >=", value, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateLessThan(Date value) {
- addCriterion("start_date <", value, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateLessThanOrEqualTo(Date value) {
- addCriterion("start_date <=", value, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateIn(List values) {
- addCriterion("start_date in", values, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateNotIn(List values) {
- addCriterion("start_date not in", values, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateBetween(Date value1, Date value2) {
- addCriterion("start_date between", value1, value2, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andStart_dateNotBetween(Date value1, Date value2) {
- addCriterion("start_date not between", value1, value2, "start_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateIsNull() {
- addCriterion("end_date is null");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateIsNotNull() {
- addCriterion("end_date is not null");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateEqualTo(Date value) {
- addCriterion("end_date =", value, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateNotEqualTo(Date value) {
- addCriterion("end_date <>", value, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateGreaterThan(Date value) {
- addCriterion("end_date >", value, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateGreaterThanOrEqualTo(Date value) {
- addCriterion("end_date >=", value, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateLessThan(Date value) {
- addCriterion("end_date <", value, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateLessThanOrEqualTo(Date value) {
- addCriterion("end_date <=", value, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateIn(List values) {
- addCriterion("end_date in", values, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateNotIn(List values) {
- addCriterion("end_date not in", values, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateBetween(Date value1, Date value2) {
- addCriterion("end_date between", value1, value2, "end_date");
- return (Criteria) this;
- }
-
- public Criteria andEnd_dateNotBetween(Date value1, Date value2) {
- addCriterion("end_date not between", value1, value2, "end_date");
- return (Criteria) this;
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated do_not_delete_during_merge Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criteria extends GeneratedCriteria {
-
- protected Criteria() {
- super();
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_history
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criterion {
- private String condition;
-
- private Object value;
-
- private Object secondValue;
-
- private boolean noValue;
-
- private boolean singleValue;
-
- private boolean betweenValue;
-
- private boolean listValue;
-
- private String typeHandler;
-
- public String getCondition() {
- return condition;
- }
-
- public Object getValue() {
- return value;
- }
-
- public Object getSecondValue() {
- return secondValue;
- }
-
- public boolean isNoValue() {
- return noValue;
- }
-
- public boolean isSingleValue() {
- return singleValue;
- }
-
- public boolean isBetweenValue() {
- return betweenValue;
- }
-
- public boolean isListValue() {
- return listValue;
- }
-
- public String getTypeHandler() {
- return typeHandler;
- }
-
- protected Criterion(String condition) {
- super();
- this.condition = condition;
- this.typeHandler = null;
- this.noValue = true;
- }
-
- protected Criterion(String condition, Object value, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.typeHandler = typeHandler;
- if (value instanceof List>) {
- this.listValue = true;
- } else {
- this.singleValue = true;
- }
- }
-
- protected Criterion(String condition, Object value) {
- this(condition, value, null);
- }
-
- protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.secondValue = secondValue;
- this.typeHandler = typeHandler;
- this.betweenValue = true;
- }
-
- protected Criterion(String condition, Object value, Object secondValue) {
- this(condition, value, secondValue, null);
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameter.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameter.java
deleted file mode 100644
index 95deac7df..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameter.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class ConnectionParameter extends ConnectionParameterKey {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_parameter.parameter_value
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String parameter_value;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_parameter.parameter_value
- *
- * @return the value of guacamole..guacamole_connection_parameter.parameter_value
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getParameter_value() {
- return parameter_value;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_parameter.parameter_value
- *
- * @param parameter_value the value for guacamole..guacamole_connection_parameter.parameter_value
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setParameter_value(String parameter_value) {
- this.parameter_value = parameter_value;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameterExample.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameterExample.java
deleted file mode 100644
index bdc44b136..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameterExample.java
+++ /dev/null
@@ -1,502 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class ConnectionParameterExample {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected String orderByClause;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected boolean distinct;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected List oredCriteria;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public ConnectionParameterExample() {
- oredCriteria = new ArrayList();
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getOrderByClause() {
- return orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setDistinct(boolean distinct) {
- this.distinct = distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public boolean isDistinct() {
- return distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public List getOredCriteria() {
- return oredCriteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria or() {
- Criteria criteria = createCriteriaInternal();
- oredCriteria.add(criteria);
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria createCriteria() {
- Criteria criteria = createCriteriaInternal();
- if (oredCriteria.size() == 0) {
- oredCriteria.add(criteria);
- }
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void clear() {
- oredCriteria.clear();
- orderByClause = null;
- distinct = false;
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected abstract static class GeneratedCriteria {
- protected List criteria;
-
- protected GeneratedCriteria() {
- super();
- criteria = new ArrayList();
- }
-
- public boolean isValid() {
- return criteria.size() > 0;
- }
-
- public List getAllCriteria() {
- return criteria;
- }
-
- public List getCriteria() {
- return criteria;
- }
-
- protected void addCriterion(String condition) {
- if (condition == null) {
- throw new RuntimeException("Value for condition cannot be null");
- }
- criteria.add(new Criterion(condition));
- }
-
- protected void addCriterion(String condition, Object value, String property) {
- if (value == null) {
- throw new RuntimeException("Value for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value));
- }
-
- protected void addCriterion(String condition, Object value1, Object value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value1, value2));
- }
-
- public Criteria andConnection_idIsNull() {
- addCriterion("connection_id is null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIsNotNull() {
- addCriterion("connection_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idEqualTo(Integer value) {
- addCriterion("connection_id =", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotEqualTo(Integer value) {
- addCriterion("connection_id <>", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThan(Integer value) {
- addCriterion("connection_id >", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("connection_id >=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThan(Integer value) {
- addCriterion("connection_id <", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThanOrEqualTo(Integer value) {
- addCriterion("connection_id <=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIn(List values) {
- addCriterion("connection_id in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotIn(List values) {
- addCriterion("connection_id not in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idBetween(Integer value1, Integer value2) {
- addCriterion("connection_id between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotBetween(Integer value1, Integer value2) {
- addCriterion("connection_id not between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameIsNull() {
- addCriterion("parameter_name is null");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameIsNotNull() {
- addCriterion("parameter_name is not null");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameEqualTo(String value) {
- addCriterion("parameter_name =", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameNotEqualTo(String value) {
- addCriterion("parameter_name <>", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameGreaterThan(String value) {
- addCriterion("parameter_name >", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameGreaterThanOrEqualTo(String value) {
- addCriterion("parameter_name >=", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameLessThan(String value) {
- addCriterion("parameter_name <", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameLessThanOrEqualTo(String value) {
- addCriterion("parameter_name <=", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameLike(String value) {
- addCriterion("parameter_name like", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameNotLike(String value) {
- addCriterion("parameter_name not like", value, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameIn(List values) {
- addCriterion("parameter_name in", values, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameNotIn(List values) {
- addCriterion("parameter_name not in", values, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameBetween(String value1, String value2) {
- addCriterion("parameter_name between", value1, value2, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_nameNotBetween(String value1, String value2) {
- addCriterion("parameter_name not between", value1, value2, "parameter_name");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueIsNull() {
- addCriterion("parameter_value is null");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueIsNotNull() {
- addCriterion("parameter_value is not null");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueEqualTo(String value) {
- addCriterion("parameter_value =", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueNotEqualTo(String value) {
- addCriterion("parameter_value <>", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueGreaterThan(String value) {
- addCriterion("parameter_value >", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueGreaterThanOrEqualTo(String value) {
- addCriterion("parameter_value >=", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueLessThan(String value) {
- addCriterion("parameter_value <", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueLessThanOrEqualTo(String value) {
- addCriterion("parameter_value <=", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueLike(String value) {
- addCriterion("parameter_value like", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueNotLike(String value) {
- addCriterion("parameter_value not like", value, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueIn(List values) {
- addCriterion("parameter_value in", values, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueNotIn(List values) {
- addCriterion("parameter_value not in", values, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueBetween(String value1, String value2) {
- addCriterion("parameter_value between", value1, value2, "parameter_value");
- return (Criteria) this;
- }
-
- public Criteria andParameter_valueNotBetween(String value1, String value2) {
- addCriterion("parameter_value not between", value1, value2, "parameter_value");
- return (Criteria) this;
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated do_not_delete_during_merge Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criteria extends GeneratedCriteria {
-
- protected Criteria() {
- super();
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_parameter
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criterion {
- private String condition;
-
- private Object value;
-
- private Object secondValue;
-
- private boolean noValue;
-
- private boolean singleValue;
-
- private boolean betweenValue;
-
- private boolean listValue;
-
- private String typeHandler;
-
- public String getCondition() {
- return condition;
- }
-
- public Object getValue() {
- return value;
- }
-
- public Object getSecondValue() {
- return secondValue;
- }
-
- public boolean isNoValue() {
- return noValue;
- }
-
- public boolean isSingleValue() {
- return singleValue;
- }
-
- public boolean isBetweenValue() {
- return betweenValue;
- }
-
- public boolean isListValue() {
- return listValue;
- }
-
- public String getTypeHandler() {
- return typeHandler;
- }
-
- protected Criterion(String condition) {
- super();
- this.condition = condition;
- this.typeHandler = null;
- this.noValue = true;
- }
-
- protected Criterion(String condition, Object value, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.typeHandler = typeHandler;
- if (value instanceof List>) {
- this.listValue = true;
- } else {
- this.singleValue = true;
- }
- }
-
- protected Criterion(String condition, Object value) {
- this(condition, value, null);
- }
-
- protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.secondValue = secondValue;
- this.typeHandler = typeHandler;
- this.betweenValue = true;
- }
-
- protected Criterion(String condition, Object value, Object secondValue) {
- this(condition, value, secondValue, null);
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameterKey.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameterKey.java
deleted file mode 100644
index 2bc72662d..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionParameterKey.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class ConnectionParameterKey {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_parameter.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer connection_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_parameter.parameter_name
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String parameter_name;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_parameter.connection_id
- *
- * @return the value of guacamole..guacamole_connection_parameter.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getConnection_id() {
- return connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_parameter.connection_id
- *
- * @param connection_id the value for guacamole..guacamole_connection_parameter.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setConnection_id(Integer connection_id) {
- this.connection_id = connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_parameter.parameter_name
- *
- * @return the value of guacamole..guacamole_connection_parameter.parameter_name
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getParameter_name() {
- return parameter_name;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_parameter.parameter_name
- *
- * @param parameter_name the value for guacamole..guacamole_connection_parameter.parameter_name
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setParameter_name(String parameter_name) {
- this.parameter_name = parameter_name;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionPermissionExample.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionPermissionExample.java
deleted file mode 100644
index 5e4264f6f..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionPermissionExample.java
+++ /dev/null
@@ -1,492 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class ConnectionPermissionExample {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected String orderByClause;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected boolean distinct;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected List oredCriteria;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public ConnectionPermissionExample() {
- oredCriteria = new ArrayList();
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getOrderByClause() {
- return orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setDistinct(boolean distinct) {
- this.distinct = distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public boolean isDistinct() {
- return distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public List getOredCriteria() {
- return oredCriteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria or() {
- Criteria criteria = createCriteriaInternal();
- oredCriteria.add(criteria);
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria createCriteria() {
- Criteria criteria = createCriteriaInternal();
- if (oredCriteria.size() == 0) {
- oredCriteria.add(criteria);
- }
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void clear() {
- oredCriteria.clear();
- orderByClause = null;
- distinct = false;
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected abstract static class GeneratedCriteria {
- protected List criteria;
-
- protected GeneratedCriteria() {
- super();
- criteria = new ArrayList();
- }
-
- public boolean isValid() {
- return criteria.size() > 0;
- }
-
- public List getAllCriteria() {
- return criteria;
- }
-
- public List getCriteria() {
- return criteria;
- }
-
- protected void addCriterion(String condition) {
- if (condition == null) {
- throw new RuntimeException("Value for condition cannot be null");
- }
- criteria.add(new Criterion(condition));
- }
-
- protected void addCriterion(String condition, Object value, String property) {
- if (value == null) {
- throw new RuntimeException("Value for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value));
- }
-
- protected void addCriterion(String condition, Object value1, Object value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value1, value2));
- }
-
- public Criteria andUser_idIsNull() {
- addCriterion("user_id is null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIsNotNull() {
- addCriterion("user_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idEqualTo(Integer value) {
- addCriterion("user_id =", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotEqualTo(Integer value) {
- addCriterion("user_id <>", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThan(Integer value) {
- addCriterion("user_id >", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("user_id >=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThan(Integer value) {
- addCriterion("user_id <", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThanOrEqualTo(Integer value) {
- addCriterion("user_id <=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIn(List values) {
- addCriterion("user_id in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotIn(List values) {
- addCriterion("user_id not in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idBetween(Integer value1, Integer value2) {
- addCriterion("user_id between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotBetween(Integer value1, Integer value2) {
- addCriterion("user_id not between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIsNull() {
- addCriterion("connection_id is null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIsNotNull() {
- addCriterion("connection_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idEqualTo(Integer value) {
- addCriterion("connection_id =", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotEqualTo(Integer value) {
- addCriterion("connection_id <>", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThan(Integer value) {
- addCriterion("connection_id >", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("connection_id >=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThan(Integer value) {
- addCriterion("connection_id <", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idLessThanOrEqualTo(Integer value) {
- addCriterion("connection_id <=", value, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idIn(List values) {
- addCriterion("connection_id in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotIn(List values) {
- addCriterion("connection_id not in", values, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idBetween(Integer value1, Integer value2) {
- addCriterion("connection_id between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andConnection_idNotBetween(Integer value1, Integer value2) {
- addCriterion("connection_id not between", value1, value2, "connection_id");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIsNull() {
- addCriterion("permission is null");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIsNotNull() {
- addCriterion("permission is not null");
- return (Criteria) this;
- }
-
- public Criteria andPermissionEqualTo(String value) {
- addCriterion("permission =", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotEqualTo(String value) {
- addCriterion("permission <>", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionGreaterThan(String value) {
- addCriterion("permission >", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionGreaterThanOrEqualTo(String value) {
- addCriterion("permission >=", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLessThan(String value) {
- addCriterion("permission <", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLessThanOrEqualTo(String value) {
- addCriterion("permission <=", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLike(String value) {
- addCriterion("permission like", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotLike(String value) {
- addCriterion("permission not like", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIn(List values) {
- addCriterion("permission in", values, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotIn(List values) {
- addCriterion("permission not in", values, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionBetween(String value1, String value2) {
- addCriterion("permission between", value1, value2, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotBetween(String value1, String value2) {
- addCriterion("permission not between", value1, value2, "permission");
- return (Criteria) this;
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated do_not_delete_during_merge Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criteria extends GeneratedCriteria {
-
- protected Criteria() {
- super();
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_connection_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criterion {
- private String condition;
-
- private Object value;
-
- private Object secondValue;
-
- private boolean noValue;
-
- private boolean singleValue;
-
- private boolean betweenValue;
-
- private boolean listValue;
-
- private String typeHandler;
-
- public String getCondition() {
- return condition;
- }
-
- public Object getValue() {
- return value;
- }
-
- public Object getSecondValue() {
- return secondValue;
- }
-
- public boolean isNoValue() {
- return noValue;
- }
-
- public boolean isSingleValue() {
- return singleValue;
- }
-
- public boolean isBetweenValue() {
- return betweenValue;
- }
-
- public boolean isListValue() {
- return listValue;
- }
-
- public String getTypeHandler() {
- return typeHandler;
- }
-
- protected Criterion(String condition) {
- super();
- this.condition = condition;
- this.typeHandler = null;
- this.noValue = true;
- }
-
- protected Criterion(String condition, Object value, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.typeHandler = typeHandler;
- if (value instanceof List>) {
- this.listValue = true;
- } else {
- this.singleValue = true;
- }
- }
-
- protected Criterion(String condition, Object value) {
- this(condition, value, null);
- }
-
- protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.secondValue = secondValue;
- this.typeHandler = typeHandler;
- this.betweenValue = true;
- }
-
- protected Criterion(String condition, Object value, Object secondValue) {
- this(condition, value, secondValue, null);
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionPermissionKey.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionPermissionKey.java
deleted file mode 100644
index f93afff7f..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/ConnectionPermissionKey.java
+++ /dev/null
@@ -1,99 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class ConnectionPermissionKey {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer user_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_permission.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer connection_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_connection_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String permission;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_permission.user_id
- *
- * @return the value of guacamole..guacamole_connection_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getUser_id() {
- return user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_permission.user_id
- *
- * @param user_id the value for guacamole..guacamole_connection_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setUser_id(Integer user_id) {
- this.user_id = user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_permission.connection_id
- *
- * @return the value of guacamole..guacamole_connection_permission.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getConnection_id() {
- return connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_permission.connection_id
- *
- * @param connection_id the value for guacamole..guacamole_connection_permission.connection_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setConnection_id(Integer connection_id) {
- this.connection_id = connection_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_connection_permission.permission
- *
- * @return the value of guacamole..guacamole_connection_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getPermission() {
- return permission;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_connection_permission.permission
- *
- * @param permission the value for guacamole..guacamole_connection_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setPermission(String permission) {
- this.permission = permission;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/SystemPermissionExample.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/SystemPermissionExample.java
deleted file mode 100644
index 3a042a6a3..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/SystemPermissionExample.java
+++ /dev/null
@@ -1,432 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class SystemPermissionExample {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected String orderByClause;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected boolean distinct;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected List oredCriteria;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public SystemPermissionExample() {
- oredCriteria = new ArrayList();
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getOrderByClause() {
- return orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setDistinct(boolean distinct) {
- this.distinct = distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public boolean isDistinct() {
- return distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public List getOredCriteria() {
- return oredCriteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria or() {
- Criteria criteria = createCriteriaInternal();
- oredCriteria.add(criteria);
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria createCriteria() {
- Criteria criteria = createCriteriaInternal();
- if (oredCriteria.size() == 0) {
- oredCriteria.add(criteria);
- }
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void clear() {
- oredCriteria.clear();
- orderByClause = null;
- distinct = false;
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected abstract static class GeneratedCriteria {
- protected List criteria;
-
- protected GeneratedCriteria() {
- super();
- criteria = new ArrayList();
- }
-
- public boolean isValid() {
- return criteria.size() > 0;
- }
-
- public List getAllCriteria() {
- return criteria;
- }
-
- public List getCriteria() {
- return criteria;
- }
-
- protected void addCriterion(String condition) {
- if (condition == null) {
- throw new RuntimeException("Value for condition cannot be null");
- }
- criteria.add(new Criterion(condition));
- }
-
- protected void addCriterion(String condition, Object value, String property) {
- if (value == null) {
- throw new RuntimeException("Value for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value));
- }
-
- protected void addCriterion(String condition, Object value1, Object value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value1, value2));
- }
-
- public Criteria andUser_idIsNull() {
- addCriterion("user_id is null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIsNotNull() {
- addCriterion("user_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idEqualTo(Integer value) {
- addCriterion("user_id =", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotEqualTo(Integer value) {
- addCriterion("user_id <>", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThan(Integer value) {
- addCriterion("user_id >", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("user_id >=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThan(Integer value) {
- addCriterion("user_id <", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThanOrEqualTo(Integer value) {
- addCriterion("user_id <=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIn(List values) {
- addCriterion("user_id in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotIn(List values) {
- addCriterion("user_id not in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idBetween(Integer value1, Integer value2) {
- addCriterion("user_id between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotBetween(Integer value1, Integer value2) {
- addCriterion("user_id not between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIsNull() {
- addCriterion("permission is null");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIsNotNull() {
- addCriterion("permission is not null");
- return (Criteria) this;
- }
-
- public Criteria andPermissionEqualTo(String value) {
- addCriterion("permission =", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotEqualTo(String value) {
- addCriterion("permission <>", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionGreaterThan(String value) {
- addCriterion("permission >", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionGreaterThanOrEqualTo(String value) {
- addCriterion("permission >=", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLessThan(String value) {
- addCriterion("permission <", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLessThanOrEqualTo(String value) {
- addCriterion("permission <=", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLike(String value) {
- addCriterion("permission like", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotLike(String value) {
- addCriterion("permission not like", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIn(List values) {
- addCriterion("permission in", values, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotIn(List values) {
- addCriterion("permission not in", values, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionBetween(String value1, String value2) {
- addCriterion("permission between", value1, value2, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotBetween(String value1, String value2) {
- addCriterion("permission not between", value1, value2, "permission");
- return (Criteria) this;
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated do_not_delete_during_merge Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criteria extends GeneratedCriteria {
-
- protected Criteria() {
- super();
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_system_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criterion {
- private String condition;
-
- private Object value;
-
- private Object secondValue;
-
- private boolean noValue;
-
- private boolean singleValue;
-
- private boolean betweenValue;
-
- private boolean listValue;
-
- private String typeHandler;
-
- public String getCondition() {
- return condition;
- }
-
- public Object getValue() {
- return value;
- }
-
- public Object getSecondValue() {
- return secondValue;
- }
-
- public boolean isNoValue() {
- return noValue;
- }
-
- public boolean isSingleValue() {
- return singleValue;
- }
-
- public boolean isBetweenValue() {
- return betweenValue;
- }
-
- public boolean isListValue() {
- return listValue;
- }
-
- public String getTypeHandler() {
- return typeHandler;
- }
-
- protected Criterion(String condition) {
- super();
- this.condition = condition;
- this.typeHandler = null;
- this.noValue = true;
- }
-
- protected Criterion(String condition, Object value, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.typeHandler = typeHandler;
- if (value instanceof List>) {
- this.listValue = true;
- } else {
- this.singleValue = true;
- }
- }
-
- protected Criterion(String condition, Object value) {
- this(condition, value, null);
- }
-
- protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.secondValue = secondValue;
- this.typeHandler = typeHandler;
- this.betweenValue = true;
- }
-
- protected Criterion(String condition, Object value, Object secondValue) {
- this(condition, value, secondValue, null);
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/SystemPermissionKey.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/SystemPermissionKey.java
deleted file mode 100644
index 707614471..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/SystemPermissionKey.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class SystemPermissionKey {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_system_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer user_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_system_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String permission;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_system_permission.user_id
- *
- * @return the value of guacamole..guacamole_system_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getUser_id() {
- return user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_system_permission.user_id
- *
- * @param user_id the value for guacamole..guacamole_system_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setUser_id(Integer user_id) {
- this.user_id = user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_system_permission.permission
- *
- * @return the value of guacamole..guacamole_system_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getPermission() {
- return permission;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_system_permission.permission
- *
- * @param permission the value for guacamole..guacamole_system_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setPermission(String permission) {
- this.permission = permission;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/User.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/User.java
deleted file mode 100644
index 516249839..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/User.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class User {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_user.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer user_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_user.username
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String username;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_user.user_id
- *
- * @return the value of guacamole..guacamole_user.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getUser_id() {
- return user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_user.user_id
- *
- * @param user_id the value for guacamole..guacamole_user.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setUser_id(Integer user_id) {
- this.user_id = user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_user.username
- *
- * @return the value of guacamole..guacamole_user.username
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getUsername() {
- return username;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_user.username
- *
- * @param username the value for guacamole..guacamole_user.username
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setUsername(String username) {
- this.username = username;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserExample.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserExample.java
deleted file mode 100644
index a766bc074..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserExample.java
+++ /dev/null
@@ -1,432 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class UserExample {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected String orderByClause;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected boolean distinct;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected List oredCriteria;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public UserExample() {
- oredCriteria = new ArrayList();
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getOrderByClause() {
- return orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setDistinct(boolean distinct) {
- this.distinct = distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public boolean isDistinct() {
- return distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public List getOredCriteria() {
- return oredCriteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria or() {
- Criteria criteria = createCriteriaInternal();
- oredCriteria.add(criteria);
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria createCriteria() {
- Criteria criteria = createCriteriaInternal();
- if (oredCriteria.size() == 0) {
- oredCriteria.add(criteria);
- }
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void clear() {
- oredCriteria.clear();
- orderByClause = null;
- distinct = false;
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected abstract static class GeneratedCriteria {
- protected List criteria;
-
- protected GeneratedCriteria() {
- super();
- criteria = new ArrayList();
- }
-
- public boolean isValid() {
- return criteria.size() > 0;
- }
-
- public List getAllCriteria() {
- return criteria;
- }
-
- public List getCriteria() {
- return criteria;
- }
-
- protected void addCriterion(String condition) {
- if (condition == null) {
- throw new RuntimeException("Value for condition cannot be null");
- }
- criteria.add(new Criterion(condition));
- }
-
- protected void addCriterion(String condition, Object value, String property) {
- if (value == null) {
- throw new RuntimeException("Value for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value));
- }
-
- protected void addCriterion(String condition, Object value1, Object value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value1, value2));
- }
-
- public Criteria andUser_idIsNull() {
- addCriterion("user_id is null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIsNotNull() {
- addCriterion("user_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idEqualTo(Integer value) {
- addCriterion("user_id =", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotEqualTo(Integer value) {
- addCriterion("user_id <>", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThan(Integer value) {
- addCriterion("user_id >", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("user_id >=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThan(Integer value) {
- addCriterion("user_id <", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThanOrEqualTo(Integer value) {
- addCriterion("user_id <=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIn(List values) {
- addCriterion("user_id in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotIn(List values) {
- addCriterion("user_id not in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idBetween(Integer value1, Integer value2) {
- addCriterion("user_id between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotBetween(Integer value1, Integer value2) {
- addCriterion("user_id not between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUsernameIsNull() {
- addCriterion("username is null");
- return (Criteria) this;
- }
-
- public Criteria andUsernameIsNotNull() {
- addCriterion("username is not null");
- return (Criteria) this;
- }
-
- public Criteria andUsernameEqualTo(String value) {
- addCriterion("username =", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameNotEqualTo(String value) {
- addCriterion("username <>", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameGreaterThan(String value) {
- addCriterion("username >", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameGreaterThanOrEqualTo(String value) {
- addCriterion("username >=", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameLessThan(String value) {
- addCriterion("username <", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameLessThanOrEqualTo(String value) {
- addCriterion("username <=", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameLike(String value) {
- addCriterion("username like", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameNotLike(String value) {
- addCriterion("username not like", value, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameIn(List values) {
- addCriterion("username in", values, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameNotIn(List values) {
- addCriterion("username not in", values, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameBetween(String value1, String value2) {
- addCriterion("username between", value1, value2, "username");
- return (Criteria) this;
- }
-
- public Criteria andUsernameNotBetween(String value1, String value2) {
- addCriterion("username not between", value1, value2, "username");
- return (Criteria) this;
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated do_not_delete_during_merge Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criteria extends GeneratedCriteria {
-
- protected Criteria() {
- super();
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_user
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criterion {
- private String condition;
-
- private Object value;
-
- private Object secondValue;
-
- private boolean noValue;
-
- private boolean singleValue;
-
- private boolean betweenValue;
-
- private boolean listValue;
-
- private String typeHandler;
-
- public String getCondition() {
- return condition;
- }
-
- public Object getValue() {
- return value;
- }
-
- public Object getSecondValue() {
- return secondValue;
- }
-
- public boolean isNoValue() {
- return noValue;
- }
-
- public boolean isSingleValue() {
- return singleValue;
- }
-
- public boolean isBetweenValue() {
- return betweenValue;
- }
-
- public boolean isListValue() {
- return listValue;
- }
-
- public String getTypeHandler() {
- return typeHandler;
- }
-
- protected Criterion(String condition) {
- super();
- this.condition = condition;
- this.typeHandler = null;
- this.noValue = true;
- }
-
- protected Criterion(String condition, Object value, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.typeHandler = typeHandler;
- if (value instanceof List>) {
- this.listValue = true;
- } else {
- this.singleValue = true;
- }
- }
-
- protected Criterion(String condition, Object value) {
- this(condition, value, null);
- }
-
- protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.secondValue = secondValue;
- this.typeHandler = typeHandler;
- this.betweenValue = true;
- }
-
- protected Criterion(String condition, Object value, Object secondValue) {
- this(condition, value, secondValue, null);
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserPermissionExample.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserPermissionExample.java
deleted file mode 100644
index bdb1c89dc..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserPermissionExample.java
+++ /dev/null
@@ -1,492 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-public class UserPermissionExample {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected String orderByClause;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected boolean distinct;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected List oredCriteria;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public UserPermissionExample() {
- oredCriteria = new ArrayList();
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getOrderByClause() {
- return orderByClause;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setDistinct(boolean distinct) {
- this.distinct = distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public boolean isDistinct() {
- return distinct;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public List getOredCriteria() {
- return oredCriteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria or() {
- Criteria criteria = createCriteriaInternal();
- oredCriteria.add(criteria);
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Criteria createCriteria() {
- Criteria criteria = createCriteriaInternal();
- if (oredCriteria.size() == 0) {
- oredCriteria.add(criteria);
- }
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void clear() {
- oredCriteria.clear();
- orderByClause = null;
- distinct = false;
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- protected abstract static class GeneratedCriteria {
- protected List criteria;
-
- protected GeneratedCriteria() {
- super();
- criteria = new ArrayList();
- }
-
- public boolean isValid() {
- return criteria.size() > 0;
- }
-
- public List getAllCriteria() {
- return criteria;
- }
-
- public List getCriteria() {
- return criteria;
- }
-
- protected void addCriterion(String condition) {
- if (condition == null) {
- throw new RuntimeException("Value for condition cannot be null");
- }
- criteria.add(new Criterion(condition));
- }
-
- protected void addCriterion(String condition, Object value, String property) {
- if (value == null) {
- throw new RuntimeException("Value for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value));
- }
-
- protected void addCriterion(String condition, Object value1, Object value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- criteria.add(new Criterion(condition, value1, value2));
- }
-
- public Criteria andUser_idIsNull() {
- addCriterion("user_id is null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIsNotNull() {
- addCriterion("user_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andUser_idEqualTo(Integer value) {
- addCriterion("user_id =", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotEqualTo(Integer value) {
- addCriterion("user_id <>", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThan(Integer value) {
- addCriterion("user_id >", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("user_id >=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThan(Integer value) {
- addCriterion("user_id <", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idLessThanOrEqualTo(Integer value) {
- addCriterion("user_id <=", value, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idIn(List values) {
- addCriterion("user_id in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotIn(List values) {
- addCriterion("user_id not in", values, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idBetween(Integer value1, Integer value2) {
- addCriterion("user_id between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andUser_idNotBetween(Integer value1, Integer value2) {
- addCriterion("user_id not between", value1, value2, "user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idIsNull() {
- addCriterion("affected_user_id is null");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idIsNotNull() {
- addCriterion("affected_user_id is not null");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idEqualTo(Integer value) {
- addCriterion("affected_user_id =", value, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idNotEqualTo(Integer value) {
- addCriterion("affected_user_id <>", value, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idGreaterThan(Integer value) {
- addCriterion("affected_user_id >", value, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idGreaterThanOrEqualTo(Integer value) {
- addCriterion("affected_user_id >=", value, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idLessThan(Integer value) {
- addCriterion("affected_user_id <", value, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idLessThanOrEqualTo(Integer value) {
- addCriterion("affected_user_id <=", value, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idIn(List values) {
- addCriterion("affected_user_id in", values, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idNotIn(List values) {
- addCriterion("affected_user_id not in", values, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idBetween(Integer value1, Integer value2) {
- addCriterion("affected_user_id between", value1, value2, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andAffected_user_idNotBetween(Integer value1, Integer value2) {
- addCriterion("affected_user_id not between", value1, value2, "affected_user_id");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIsNull() {
- addCriterion("permission is null");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIsNotNull() {
- addCriterion("permission is not null");
- return (Criteria) this;
- }
-
- public Criteria andPermissionEqualTo(String value) {
- addCriterion("permission =", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotEqualTo(String value) {
- addCriterion("permission <>", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionGreaterThan(String value) {
- addCriterion("permission >", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionGreaterThanOrEqualTo(String value) {
- addCriterion("permission >=", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLessThan(String value) {
- addCriterion("permission <", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLessThanOrEqualTo(String value) {
- addCriterion("permission <=", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionLike(String value) {
- addCriterion("permission like", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotLike(String value) {
- addCriterion("permission not like", value, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionIn(List values) {
- addCriterion("permission in", values, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotIn(List values) {
- addCriterion("permission not in", values, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionBetween(String value1, String value2) {
- addCriterion("permission between", value1, value2, "permission");
- return (Criteria) this;
- }
-
- public Criteria andPermissionNotBetween(String value1, String value2) {
- addCriterion("permission not between", value1, value2, "permission");
- return (Criteria) this;
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated do_not_delete_during_merge Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criteria extends GeneratedCriteria {
-
- protected Criteria() {
- super();
- }
- }
-
- /**
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table guacamole..guacamole_user_permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public static class Criterion {
- private String condition;
-
- private Object value;
-
- private Object secondValue;
-
- private boolean noValue;
-
- private boolean singleValue;
-
- private boolean betweenValue;
-
- private boolean listValue;
-
- private String typeHandler;
-
- public String getCondition() {
- return condition;
- }
-
- public Object getValue() {
- return value;
- }
-
- public Object getSecondValue() {
- return secondValue;
- }
-
- public boolean isNoValue() {
- return noValue;
- }
-
- public boolean isSingleValue() {
- return singleValue;
- }
-
- public boolean isBetweenValue() {
- return betweenValue;
- }
-
- public boolean isListValue() {
- return listValue;
- }
-
- public String getTypeHandler() {
- return typeHandler;
- }
-
- protected Criterion(String condition) {
- super();
- this.condition = condition;
- this.typeHandler = null;
- this.noValue = true;
- }
-
- protected Criterion(String condition, Object value, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.typeHandler = typeHandler;
- if (value instanceof List>) {
- this.listValue = true;
- } else {
- this.singleValue = true;
- }
- }
-
- protected Criterion(String condition, Object value) {
- this(condition, value, null);
- }
-
- protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
- super();
- this.condition = condition;
- this.value = value;
- this.secondValue = secondValue;
- this.typeHandler = typeHandler;
- this.betweenValue = true;
- }
-
- protected Criterion(String condition, Object value, Object secondValue) {
- this(condition, value, secondValue, null);
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserPermissionKey.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserPermissionKey.java
deleted file mode 100644
index 35e4b95e0..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserPermissionKey.java
+++ /dev/null
@@ -1,99 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class UserPermissionKey {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_user_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer user_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_user_permission.affected_user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private Integer affected_user_id;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_user_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private String permission;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_user_permission.user_id
- *
- * @return the value of guacamole..guacamole_user_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getUser_id() {
- return user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_user_permission.user_id
- *
- * @param user_id the value for guacamole..guacamole_user_permission.user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setUser_id(Integer user_id) {
- this.user_id = user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_user_permission.affected_user_id
- *
- * @return the value of guacamole..guacamole_user_permission.affected_user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public Integer getAffected_user_id() {
- return affected_user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_user_permission.affected_user_id
- *
- * @param affected_user_id the value for guacamole..guacamole_user_permission.affected_user_id
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setAffected_user_id(Integer affected_user_id) {
- this.affected_user_id = affected_user_id;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_user_permission.permission
- *
- * @return the value of guacamole..guacamole_user_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public String getPermission() {
- return permission;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_user_permission.permission
- *
- * @param permission the value for guacamole..guacamole_user_permission.permission
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setPermission(String permission) {
- this.permission = permission;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserWithBLOBs.java b/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserWithBLOBs.java
deleted file mode 100644
index 27d44d714..000000000
--- a/extensions/guacamole-auth-mysql/src/main/java/net/sourceforge/guacamole/net/auth/mysql/model/UserWithBLOBs.java
+++ /dev/null
@@ -1,67 +0,0 @@
-package net.sourceforge.guacamole.net.auth.mysql.model;
-
-public class UserWithBLOBs extends User {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_user.password_hash
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private byte[] password_hash;
-
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column guacamole..guacamole_user.password_salt
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- private byte[] password_salt;
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_user.password_hash
- *
- * @return the value of guacamole..guacamole_user.password_hash
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public byte[] getPassword_hash() {
- return password_hash;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_user.password_hash
- *
- * @param password_hash the value for guacamole..guacamole_user.password_hash
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setPassword_hash(byte[] password_hash) {
- this.password_hash = password_hash;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column guacamole..guacamole_user.password_salt
- *
- * @return the value of guacamole..guacamole_user.password_salt
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public byte[] getPassword_salt() {
- return password_salt;
- }
-
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column guacamole..guacamole_user.password_salt
- *
- * @param password_salt the value for guacamole..guacamole_user.password_salt
- *
- * @mbggenerated Tue Feb 19 23:09:22 PST 2013
- */
- public void setPassword_salt(byte[] password_salt) {
- this.password_salt = password_salt;
- }
-}
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/generatorConfig.xml b/extensions/guacamole-auth-mysql/src/main/resources/generatorConfig.xml
new file mode 100644
index 000000000..fed85030c
--- /dev/null
+++ b/extensions/guacamole-auth-mysql/src/main/resources/generatorConfig.xml
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionHistoryMapper.xml b/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionHistoryMapper.xml
deleted file mode 100644
index bb8866d64..000000000
--- a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionHistoryMapper.xml
+++ /dev/null
@@ -1,286 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
- history_id, user_id, connection_id, start_date, end_date
-
-
-
-
-
- delete from guacamole_connection_history
- where history_id = #{history_id,jdbcType=INTEGER}
-
-
-
- delete from guacamole_connection_history
-
-
-
-
-
-
- insert into guacamole_connection_history (history_id, user_id, connection_id,
- start_date, end_date)
- values (#{history_id,jdbcType=INTEGER}, #{user_id,jdbcType=INTEGER}, #{connection_id,jdbcType=INTEGER},
- #{start_date,jdbcType=TIMESTAMP}, #{end_date,jdbcType=TIMESTAMP})
-
-
-
- insert into guacamole_connection_history
-
-
- history_id,
-
-
- user_id,
-
-
- connection_id,
-
-
- start_date,
-
-
- end_date,
-
-
-
-
- #{history_id,jdbcType=INTEGER},
-
-
- #{user_id,jdbcType=INTEGER},
-
-
- #{connection_id,jdbcType=INTEGER},
-
-
- #{start_date,jdbcType=TIMESTAMP},
-
-
- #{end_date,jdbcType=TIMESTAMP},
-
-
-
-
-
-
- update guacamole_connection_history
-
-
- history_id = #{record.history_id,jdbcType=INTEGER},
-
-
- user_id = #{record.user_id,jdbcType=INTEGER},
-
-
- connection_id = #{record.connection_id,jdbcType=INTEGER},
-
-
- start_date = #{record.start_date,jdbcType=TIMESTAMP},
-
-
- end_date = #{record.end_date,jdbcType=TIMESTAMP},
-
-
-
-
-
-
-
-
- update guacamole_connection_history
- set history_id = #{record.history_id,jdbcType=INTEGER},
- user_id = #{record.user_id,jdbcType=INTEGER},
- connection_id = #{record.connection_id,jdbcType=INTEGER},
- start_date = #{record.start_date,jdbcType=TIMESTAMP},
- end_date = #{record.end_date,jdbcType=TIMESTAMP}
-
-
-
-
-
-
- update guacamole_connection_history
-
-
- user_id = #{user_id,jdbcType=INTEGER},
-
-
- connection_id = #{connection_id,jdbcType=INTEGER},
-
-
- start_date = #{start_date,jdbcType=TIMESTAMP},
-
-
- end_date = #{end_date,jdbcType=TIMESTAMP},
-
-
- where history_id = #{history_id,jdbcType=INTEGER}
-
-
-
- update guacamole_connection_history
- set user_id = #{user_id,jdbcType=INTEGER},
- connection_id = #{connection_id,jdbcType=INTEGER},
- start_date = #{start_date,jdbcType=TIMESTAMP},
- end_date = #{end_date,jdbcType=TIMESTAMP}
- where history_id = #{history_id,jdbcType=INTEGER}
-
-
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionMapper.xml b/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionMapper.xml
deleted file mode 100644
index 5e07c94c7..000000000
--- a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionMapper.xml
+++ /dev/null
@@ -1,259 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
- connection_id, connection_name, protocol
-
-
-
-
-
- delete from guacamole_connection
- where connection_id = #{connection_id,jdbcType=INTEGER}
-
-
-
- delete from guacamole_connection
-
-
-
-
-
-
- insert into guacamole_connection (connection_id, connection_name, protocol
- )
- values (#{connection_id,jdbcType=INTEGER}, #{connection_name,jdbcType=VARCHAR}, #{protocol,jdbcType=VARCHAR}
- )
-
- select last_insert_id();
-
-
-
-
- insert into guacamole_connection
-
-
- connection_id,
-
-
- connection_name,
-
-
- protocol,
-
-
-
-
- #{connection_id,jdbcType=INTEGER},
-
-
- #{connection_name,jdbcType=VARCHAR},
-
-
- #{protocol,jdbcType=VARCHAR},
-
-
-
-
-
-
- update guacamole_connection
-
-
- connection_id = #{record.connection_id,jdbcType=INTEGER},
-
-
- connection_name = #{record.connection_name,jdbcType=VARCHAR},
-
-
- protocol = #{record.protocol,jdbcType=VARCHAR},
-
-
-
-
-
-
-
-
- update guacamole_connection
- set connection_id = #{record.connection_id,jdbcType=INTEGER},
- connection_name = #{record.connection_name,jdbcType=VARCHAR},
- protocol = #{record.protocol,jdbcType=VARCHAR}
-
-
-
-
-
-
- update guacamole_connection
-
-
- connection_name = #{connection_name,jdbcType=VARCHAR},
-
-
- protocol = #{protocol,jdbcType=VARCHAR},
-
-
- where connection_id = #{connection_id,jdbcType=INTEGER}
-
-
-
- update guacamole_connection
- set connection_name = #{connection_name,jdbcType=VARCHAR},
- protocol = #{protocol,jdbcType=VARCHAR}
- where connection_id = #{connection_id,jdbcType=INTEGER}
-
-
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionParameterMapper.xml b/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionParameterMapper.xml
deleted file mode 100644
index ea84a1212..000000000
--- a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionParameterMapper.xml
+++ /dev/null
@@ -1,256 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
- connection_id, parameter_name, parameter_value
-
-
-
-
-
- delete from guacamole_connection_parameter
- where connection_id = #{connection_id,jdbcType=INTEGER}
- and parameter_name = #{parameter_name,jdbcType=VARCHAR}
-
-
-
- delete from guacamole_connection_parameter
-
-
-
-
-
-
- insert into guacamole_connection_parameter (connection_id, parameter_name, parameter_value
- )
- values (#{connection_id,jdbcType=INTEGER}, #{parameter_name,jdbcType=VARCHAR}, #{parameter_value,jdbcType=VARCHAR}
- )
-
-
-
- insert into guacamole_connection_parameter
-
-
- connection_id,
-
-
- parameter_name,
-
-
- parameter_value,
-
-
-
-
- #{connection_id,jdbcType=INTEGER},
-
-
- #{parameter_name,jdbcType=VARCHAR},
-
-
- #{parameter_value,jdbcType=VARCHAR},
-
-
-
-
-
-
- update guacamole_connection_parameter
-
-
- connection_id = #{record.connection_id,jdbcType=INTEGER},
-
-
- parameter_name = #{record.parameter_name,jdbcType=VARCHAR},
-
-
- parameter_value = #{record.parameter_value,jdbcType=VARCHAR},
-
-
-
-
-
-
-
-
- update guacamole_connection_parameter
- set connection_id = #{record.connection_id,jdbcType=INTEGER},
- parameter_name = #{record.parameter_name,jdbcType=VARCHAR},
- parameter_value = #{record.parameter_value,jdbcType=VARCHAR}
-
-
-
-
-
-
- update guacamole_connection_parameter
-
-
- parameter_value = #{parameter_value,jdbcType=VARCHAR},
-
-
- where connection_id = #{connection_id,jdbcType=INTEGER}
- and parameter_name = #{parameter_name,jdbcType=VARCHAR}
-
-
-
- update guacamole_connection_parameter
- set parameter_value = #{parameter_value,jdbcType=VARCHAR}
- where connection_id = #{connection_id,jdbcType=INTEGER}
- and parameter_name = #{parameter_name,jdbcType=VARCHAR}
-
-
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionPermissionMapper.xml b/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionPermissionMapper.xml
deleted file mode 100644
index 0d4c2ae28..000000000
--- a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/ConnectionPermissionMapper.xml
+++ /dev/null
@@ -1,219 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
- user_id, connection_id, permission
-
-
-
-
- delete from guacamole_connection_permission
- where user_id = #{user_id,jdbcType=INTEGER}
- and connection_id = #{connection_id,jdbcType=INTEGER}
- and permission = #{permission,jdbcType=CHAR}
-
-
-
- delete from guacamole_connection_permission
-
-
-
-
-
-
- insert into guacamole_connection_permission (user_id, connection_id, permission
- )
- values (#{user_id,jdbcType=INTEGER}, #{connection_id,jdbcType=INTEGER}, #{permission,jdbcType=CHAR}
- )
-
-
-
- insert into guacamole_connection_permission
-
-
- user_id,
-
-
- connection_id,
-
-
- permission,
-
-
-
-
- #{user_id,jdbcType=INTEGER},
-
-
- #{connection_id,jdbcType=INTEGER},
-
-
- #{permission,jdbcType=CHAR},
-
-
-
-
-
-
- update guacamole_connection_permission
-
-
- user_id = #{record.user_id,jdbcType=INTEGER},
-
-
- connection_id = #{record.connection_id,jdbcType=INTEGER},
-
-
- permission = #{record.permission,jdbcType=CHAR},
-
-
-
-
-
-
-
-
- update guacamole_connection_permission
- set user_id = #{record.user_id,jdbcType=INTEGER},
- connection_id = #{record.connection_id,jdbcType=INTEGER},
- permission = #{record.permission,jdbcType=CHAR}
-
-
-
-
-
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/SystemPermissionMapper.xml b/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/SystemPermissionMapper.xml
deleted file mode 100644
index 4818b4527..000000000
--- a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/SystemPermissionMapper.xml
+++ /dev/null
@@ -1,205 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
- user_id, permission
-
-
-
-
- delete from guacamole_system_permission
- where user_id = #{user_id,jdbcType=INTEGER}
- and permission = #{permission,jdbcType=CHAR}
-
-
-
- delete from guacamole_system_permission
-
-
-
-
-
-
- insert into guacamole_system_permission (user_id, permission)
- values (#{user_id,jdbcType=INTEGER}, #{permission,jdbcType=CHAR})
-
-
-
- insert into guacamole_system_permission
-
-
- user_id,
-
-
- permission,
-
-
-
-
- #{user_id,jdbcType=INTEGER},
-
-
- #{permission,jdbcType=CHAR},
-
-
-
-
-
-
- update guacamole_system_permission
-
-
- user_id = #{record.user_id,jdbcType=INTEGER},
-
-
- permission = #{record.permission,jdbcType=CHAR},
-
-
-
-
-
-
-
-
- update guacamole_system_permission
- set user_id = #{record.user_id,jdbcType=INTEGER},
- permission = #{record.permission,jdbcType=CHAR}
-
-
-
-
-
\ No newline at end of file
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/UserMapper.xml b/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/UserMapper.xml
deleted file mode 100644
index 74e01b9f5..000000000
--- a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/UserMapper.xml
+++ /dev/null
@@ -1,335 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
- user_id, username
-
-
-
- password_hash, password_salt
-
-
-
-
-
-
- delete from guacamole_user
- where user_id = #{user_id,jdbcType=INTEGER}
-
-
-
- delete from guacamole_user
-
-
-
-
-
-
- insert into guacamole_user (user_id, username, password_hash,
- password_salt)
- values (#{user_id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{password_hash,jdbcType=BINARY},
- #{password_salt,jdbcType=BINARY})
-
- select last_insert_id();
-
-
-
-
- insert into guacamole_user
-
-
- user_id,
-
-
- username,
-
-
- password_hash,
-
-
- password_salt,
-
-
-
-
- #{user_id,jdbcType=INTEGER},
-
-
- #{username,jdbcType=VARCHAR},
-
-
- #{password_hash,jdbcType=BINARY},
-
-
- #{password_salt,jdbcType=BINARY},
-
-
-
-
-
-
- update guacamole_user
-
-
- user_id = #{record.user_id,jdbcType=INTEGER},
-
-
- username = #{record.username,jdbcType=VARCHAR},
-
-
- password_hash = #{record.password_hash,jdbcType=BINARY},
-
-
- password_salt = #{record.password_salt,jdbcType=BINARY},
-
-
-
-
-
-
-
-
- update guacamole_user
- set user_id = #{record.user_id,jdbcType=INTEGER},
- username = #{record.username,jdbcType=VARCHAR},
- password_hash = #{record.password_hash,jdbcType=BINARY},
- password_salt = #{record.password_salt,jdbcType=BINARY}
-
-
-
-
-
-
- update guacamole_user
- set user_id = #{record.user_id,jdbcType=INTEGER},
- username = #{record.username,jdbcType=VARCHAR}
-
-
-
-
-
-
- update guacamole_user
-
-
- username = #{username,jdbcType=VARCHAR},
-
-
- password_hash = #{password_hash,jdbcType=BINARY},
-
-
- password_salt = #{password_salt,jdbcType=BINARY},
-
-
- where user_id = #{user_id,jdbcType=INTEGER}
-
-
-
- update guacamole_user
- set username = #{username,jdbcType=VARCHAR},
- password_hash = #{password_hash,jdbcType=BINARY},
- password_salt = #{password_salt,jdbcType=BINARY}
- where user_id = #{user_id,jdbcType=INTEGER}
-
-
-
- update guacamole_user
- set username = #{username,jdbcType=VARCHAR}
- where user_id = #{user_id,jdbcType=INTEGER}
-
-
diff --git a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/UserPermissionMapper.xml b/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/UserPermissionMapper.xml
deleted file mode 100644
index bd4b12ec6..000000000
--- a/extensions/guacamole-auth-mysql/src/main/resources/net/sourceforge/guacamole/net/auth/mysql/dao/UserPermissionMapper.xml
+++ /dev/null
@@ -1,219 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- and ${criterion.condition}
-
-
- and ${criterion.condition} #{criterion.value}
-
-
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-
-
- and ${criterion.condition}
-
- #{listItem}
-
-
-
-
-
-
-
-
-
-
-
- user_id, affected_user_id, permission
-
-
-
-
- delete from guacamole_user_permission
- where user_id = #{user_id,jdbcType=INTEGER}
- and affected_user_id = #{affected_user_id,jdbcType=INTEGER}
- and permission = #{permission,jdbcType=CHAR}
-
-
-
- delete from guacamole_user_permission
-
-
-
-
-
-
- insert into guacamole_user_permission (user_id, affected_user_id, permission
- )
- values (#{user_id,jdbcType=INTEGER}, #{affected_user_id,jdbcType=INTEGER}, #{permission,jdbcType=CHAR}
- )
-
-
-
- insert into guacamole_user_permission
-
-
- user_id,
-
-
- affected_user_id,
-
-
- permission,
-
-
-
-
- #{user_id,jdbcType=INTEGER},
-
-
- #{affected_user_id,jdbcType=INTEGER},
-
-
- #{permission,jdbcType=CHAR},
-
-
-
-
-
-
- update guacamole_user_permission
-
-
- user_id = #{record.user_id,jdbcType=INTEGER},
-
-
- affected_user_id = #{record.affected_user_id,jdbcType=INTEGER},
-
-
- permission = #{record.permission,jdbcType=CHAR},
-
-
-
-
-
-
-
-
- update guacamole_user_permission
- set user_id = #{record.user_id,jdbcType=INTEGER},
- affected_user_id = #{record.affected_user_id,jdbcType=INTEGER},
- permission = #{record.permission,jdbcType=CHAR}
-
-
-
-
-
\ No newline at end of file