Commit Graph

144 Commits

Author SHA1 Message Date
Michael Jumper
2ee554694b Ticket #269: Connection permission check should actually check connections. Add generatedKey elements to generatorConfig.xml such that IDs are queried back after insert of users and connections. 2013-03-01 11:41:39 -08:00
Michael Jumper
dbafe68cd4 Ticket #269: Major cleanup of permissions service. 2013-03-01 03:39:49 -08:00
Michael Jumper
a42167ecc3 Ticket #269: Add functions for converting permsion type enum values to MySQL constants. 2013-03-01 02:39:36 -08:00
Michael Jumper
1348164a32 Ticket #269: Remove unused imports. 2013-02-28 21:18:52 -08:00
Michael Jumper
ccb4730bc4 Ticket #269: Add missing semicolon to end of script. 2013-02-28 21:08:58 -08:00
Michael Jumper
813fa5c524 Ticket #269: Rename scripts such that they can be easily run in order. 2013-02-28 20:21:39 -08:00
Michael Jumper
f8fec18909 Ticket #269: Leverage Maven's source generation features to generate MyBatis mappings. 2013-02-28 20:00:31 -08:00
Michael Jumper
06b1d4df18 Ticket #269: Rely on ON CASCADE DELETE for deletion of entries related to connections and users. 2013-02-28 11:05:44 -08:00
Michael Jumper
cde665346b Ticket #269: Move all use of ConnectionMapper to ConnectionService. 2013-02-28 01:41:20 -08:00
Michael Jumper
a854b8f124 Ticket #269: It's SHA, not Sha. 2013-02-28 00:51:15 -08:00
Michael Jumper
bc41becdf3 Ticket #269: Add ConnectionService, get rid of ProviderService. 2013-02-28 00:24:28 -08:00
Michael Jumper
b67a074c4b Ticket #269: Add missing period. 2013-02-27 23:24:35 -08:00
Michael Jumper
554b30f47b Ticket #269: retrieveUser() should take int, not Integer. 2013-02-27 23:08:35 -08:00
Michael Jumper
88cae0c8e0 Remove whitespace at end of lines (again...) 2013-02-27 22:54:08 -08:00
Michael Jumper
1f1b586ab3 Ticket #269: Add support for system ADMINISTER permission. 2013-02-27 22:52:38 -08:00
Michael Jumper
695b05c14d Ticket #269: Remove unused ConfigurationTranslationService. 2013-02-27 22:43:24 -08:00
James Muehlner
c0d69860cb Ticket #269: Added new ADMINISTRATE permission to guacamole_system_permission. 2013-02-27 18:16:43 -08:00
Michael Jumper
c105b62615 Ticket #269: Refactor all user access into UserService, remove usage of UserMapper outside UserService. 2013-02-27 18:10:45 -08:00
Michael Jumper
64c2faa61d Ticket #269: Refactor to support new SystemPermission organization (no more *DirectoryPermission classes). 2013-02-27 16:19:51 -08:00
Michael Jumper
66fece64f4 Ticket #269: Do not requery connection when updating. 2013-02-26 21:24:09 -08:00
Michael Jumper
39a2d4eae7 Ticket #269: Add missing JavaDoc for MySQLConnection, remove whitespace at ends of lines. 2013-02-26 21:17:57 -08:00
James Muehlner
79872b9012 Ticket #269: Fixed password initialization in create user script, and removed hard-coded database names in XML mapping files. 2013-02-26 21:13:49 -08:00
Michael Jumper
6a74e62caa Ticket #269: Removed equals() and hashCode() from MySQLConnection (now present in AbstractConnection). 2013-02-26 20:26:46 -08:00
Michael Jumper
611a613589 Ticket #269: Working connection read/write, reorganization. 2013-02-26 20:01:57 -08:00
Michael Jumper
c3d21a5e8e Ticket #269: Add missing parameter to user init(). 2013-02-26 19:03:43 -08:00
Michael Jumper
d06dda94d7 Ticket #269: Make separation of concerns in MySQLUser more strict. 2013-02-26 19:02:51 -08:00
Michael Jumper
ffe49b4347 Ticket #269: Rename service variables from *Utility to *Service. 2013-02-26 16:04:32 -08:00
Michael Jumper
c39a8dfe35 Ticket #269: Fix JavaDoc. 2013-02-26 12:40:19 -08:00
Michael Jumper
64d301dfb3 Ticket #269: Refactor password service to not depend on Credentials (password only). Remove database semantics from non-database password service. 2013-02-26 12:15:40 -08:00
Michael Jumper
77f83dfaa4 Ticket #269: Remove unused import. 2013-02-26 12:13:49 -08:00
Michael Jumper
6af023f7d3 Ticket #269: Clean up permission create/remove prototypes, add missing JavaDoc, fix whitespace at end of line. 2013-02-26 02:44:33 -08:00
Michael Jumper
97c1bc6a28 Ticket #269: Make all fields private, change default methods to public. 2013-02-26 02:35:25 -08:00
Michael Jumper
fdf49603c5 Ticket #269: Add comments to default user creation script. 2013-02-26 00:26:10 -08:00
Michael Jumper
ab9b81f987 Merge branch 'unstable' of git://guacamole.git.sourceforge.net/gitroot/guacamole/guacamole-auth-mysql into unstable 2013-02-26 00:24:14 -08:00
Michael Jumper
aa97d7d42e Ticket #269: Remove user ID stubs from permission update routine. 2013-02-26 00:22:43 -08:00
James Muehlner
576bc8137f Ticket #269: Connection Id should refer to connection 2013-02-26 00:17:17 -08:00
Michael Jumper
c49a4bee92 Ticket #269: Pull connection ID after insert. 2013-02-26 00:15:33 -08:00
Michael Jumper
7d8fc88b53 Ticket #269: Fix user create/update/delete, fix permission update, reorganize. 2013-02-26 00:05:34 -08:00
Michael Jumper
eb466c7f70 Ticket #269: UserPermissionExample needs to be cleared before reuse. 2013-02-25 21:56:33 -08:00
Michael Jumper
60a8d753c3 Ticket #269: Actually add to removed permissions set, actually create removed/added permissions sets (MySQLUser). 2013-02-25 21:56:04 -08:00
James Muehlner
9f1f1e8197 Ticket #269: The first user should have full access to himself as well. 2013-02-25 21:20:14 -08:00
James Muehlner
fa6479ddac Ticket #269: Modified MySQLUser to keep a set of new and removed permissions for efficiency. 2013-02-25 20:59:30 -08:00
James Muehlner
7a01ddb4f6 Ticket #269: The utility classes should more properly be known as services. 2013-02-25 18:39:49 -08:00
Michael Jumper
91539ba7b2 Merge branch 'unstable' of git://guacamole.git.sourceforge.net/gitroot/guacamole/guacamole-auth-mysql into unstable 2013-02-25 16:41:47 -08:00
Michael Jumper
06b710e47e Ticket #269: Clean up MySQLConstants, fix permission query for system permissions. 2013-02-25 16:41:20 -08:00
James Muehlner
decf247815 Ticket #269: Updated myBatis example config file to reflect understanding that the mapping files have to be in the same
packge, in /resources folder.
2013-02-25 10:58:43 -08:00
Michael Jumper
73641925fc Ticket #269: Partial fix of the most immediately apparent (upon login) query errors. Need to rework queries. 2013-02-25 02:37:43 -08:00
Michael Jumper
97c2e3ceb9 Ticket #269: Clean up MySQLUser, handle null username. Move mybatis XMLs to proper package within resources, fix SQL syntax (guacamole.TABLE, not guacamole..TABLE - likely need to fix generator). 2013-02-25 02:07:45 -08:00
Michael Jumper
aab2a3c698 Ticket #269: Add missing bindings for transaction factory and connection history mapper. 2013-02-25 01:03:04 -08:00
Michael Jumper
1b71cf72bb Ticket #269: Yet more cleanup. 2013-02-23 18:09:48 -08:00