Commit Graph
4215 Commits
Author SHA1 Message Date
Michael Jumper 28e7d215ac GUACAMOLE-394: Automatically update the end time of user history records upon logout. 2017-12-11 23:51:57 -08:00
Michael Jumper 3ccb4d4ac1 GUACAMOLE-394: No need to explicitly set ID - it's automatically pulled from the username. 2017-12-11 23:51:57 -08:00
Michael Jumper 446a9d0e12 GUACAMOLE-394: Automatically insert user history records upon login. 2017-12-11 23:51:57 -08:00
Michael Jumper 7e8accab62 GUACAMOLE-394: Implement full retrieval of user login history. 2017-12-11 23:51:57 -08:00
Michael Jumper 2414c9a245 GUACAMOLE-394: Separate core of ConnectionRecordSet into ModeledActivityRecordSet. 2017-12-11 23:51:57 -08:00
Michael Jumper adf016a005 GUACAMOLE-394: Map last active date for users to timestamp. 2017-12-11 23:51:57 -08:00
Michael Jumper 8694bc802a GUACAMOLE-394: Determine last active date for users based on history table. 2017-12-11 23:51:57 -08:00
Michael Jumper a3dd919940 GUACAMOLE-394: History must be LEFT JOINed when calculating last active date, or inactive connections will disappear entirely. 2017-12-11 23:51:57 -08:00
Michael Jumper 6f6b4e5d96 GUACAMOLE-394: Add mapper for user login records. 2017-12-11 23:51:57 -08:00
Michael Jumper 5aa2172eac GUACAMOLE-394: Add guacamole_user_history table to database schema. 2017-12-11 23:51:56 -08:00
Michael Jumper c991ea46bc GUACAMOLE-394: Split ConnectionRecord model and ModeledConnectionRecord into ActivityRecordModel and ModeledActivityRecord, etc. mirroring changes to guacamole-ext. 2017-12-11 23:51:56 -08:00
Michael Jumper 3d7b8ee89b GUACAMOLE-394: Pull connection last active time from history records. 2017-12-11 23:51:56 -08:00
Michael Jumper b0553d5f16 GUACAMOLE-363: Do not declare custom types as default "NOT NULL". Rely on column definitions for such semantics. 2017-12-11 23:47:23 -08:00
Michael Jumper 303bc49d7a GUACAMOLE-363: Correct DOS-style newlines within SQL Server schema before it's too late. 2017-12-11 22:53:19 -08:00
Nick Couchman 9df20f29bd GUACAMOLE-363: Merge bring SQL Server schema to parity with MySQL/PostgreSQL. 2017-12-06 10:11:02 -05:00
Nick Couchman f75786a688 GUACAMOLE-436: Merge remove incubator prefixes and DISCLAIMER. 2017-12-06 09:48:57 -05:00
Michael Jumper 8d92e45227 GUACAMOLE-436: Remove old references to pre-Incubator project. 2017-12-06 00:08:11 -08:00
Michael Jumper 7c4223ce3e GUACAMOLE-436: Remove incubator prefix from repositories and URLs. 2017-12-06 00:02:33 -08:00
Michael Jumper 3df5b222a6 GUACAMOLE-436: Remove Incubator DISCLAIMER files. 2017-12-05 23:48:08 -08:00
Michael Jumper 1ec76b486a GUACAMOLE-363: Remove ALTER DATABASE CURRENT statements (not compatible with SQL Server 2008). 2017-11-26 13:45:45 -08:00
Michael Jumper 23084625ab GUACAMOLE-363: Do not take behind-the-scenes trigger operations into account when calculating the row counts for a query. 2017-11-26 13:01:48 -08:00
Michael Jumper 56da0b0c75 GUACAMOLE-363: Add triggers to handle cascading deletes/updates where SQL Server does not support doing so automatically via ON DELETE actions. 2017-11-26 13:01:48 -08:00
Michael Jumper 317c76b5c5 GUACAMOLE-363: Clean up and refactor SQL Server schema to closely match the MySQL and PostgreSQL schemas. Add missing types and indexes. 2017-11-26 13:01:48 -08:00
Michael Jumper 442fd3daa4 GUACAMOLE-243: Merge support for LDAP referrals. 2017-11-12 18:20:51 -08:00
Nick Couchman 124cf92358 GUACAMOLE-243: Clean up JavaDoc comments, fix error messages and exceptions. 2017-11-06 22:15:47 -05:00
Michael Jumper 393c70f236 GUACAMOLE-362: Merge changes addressing InputStream leak when reading CAS ClearPass private key. 2017-10-28 22:20:53 -07:00
Nick Couchman 32ccde08d2 GUACAMOLE-362: Avoid NullPointerException when closing input stream. 2017-10-28 14:19:37 -04:00
Nick Couchman 91e5702768 GUACAMOLE-362: Move close to finally block. 2017-10-28 14:04:13 -04:00
Nick Couchman 5c0c823913 GUACAMOLE-362: Fix resource leak in FileInputStream when reading private key. 2017-10-28 09:15:58 -04:00
Nick Couchman 1a7f85ae51 GUACAMOLE-412: Merge refactor UserEvent to provide AuthenticatedUser instead of UserContext 2017-10-27 19:54:22 -04:00
Michael Jumper 223102c38c GUACAMOLE-412: Refactor user events with respect to extension API changes since the decoupling of auth from storage, providing AuthenticatedUser instead of UserContext to represent the user involved. 2017-10-27 13:03:17 -07:00
Michael Jumper 51ccbed130 GUACAMOLE-355: Merge catch-all error handling for unchecked exceptions thrown by underlying CAS library. 2017-10-27 12:20:07 -07:00
Nick Couchman 9c57e20a17 GUACAMOLE-355: Switch to Invalid credentials and rely on error being logged. 2017-10-27 15:16:49 -04:00
Nick Couchman a45a44fea5 GUACAMOLE-355: Make error displayed to user more generic. 2017-10-27 15:16:49 -04:00
Nick Couchman 5ff7fbf971 GUACAMOLE-355: Catch CAS errors and throw them to Guacamole, and display error message in login dialog. 2017-10-27 15:16:41 -04:00
Michael Jumper bfb6b13ba7 GUACAMOLE-363: Merge correction to SQL Server syntax. 2017-10-27 10:55:13 -07:00
Michael Jumper 0d74dc5821 GUACAMOLE-362: Merge support for CAS ClearPass. 2017-10-27 10:50:08 -07:00
Nick Couchman ad8820cf05 GUACAMOLE-362: Remove unnecessary IOException catch. 2017-10-27 13:45:25 -04:00
Nick Couchman b968e073c2 GUACAMOLE-362: Move PrivateKeyGuacamoleProperty into CAS extension and use ByteArrayOutputStream for reading thefile. 2017-10-27 13:06:07 -04:00
Nick Couchman c92d2e3598 GUACAMOLE-362: Loop through reading bytes from key file. 2017-10-27 13:05:13 -04:00
Nick Couchman 61f70c57be GUACAMOLE-362: Fix error message typo. 2017-10-27 13:05:13 -04:00
Nick Couchman a196134f2d GUACAMOLE-362: Change warn to debug for missing private key. 2017-10-27 13:05:13 -04:00
Nick Couchman 17599d9153 GUACAMOLE-362: Set encoding of ticket validator to UTF-8. 2017-10-27 13:05:13 -04:00
Nick Couchman 3d091411f3 GUACAMOLE-362: Deal correctly with return value when reading the key. 2017-10-27 13:05:13 -04:00
Nick Couchman ab41f44100 GUACAMOLE-362: Fix style and error messages. 2017-10-27 13:05:13 -04:00
Nick Couchman bd57938dff GUACAMOLE-362: Add missing parameter documentation for credentials object. 2017-10-27 13:05:13 -04:00
Nick Couchman b410b99d49 GUACAMOLE-362: Refactor ticket validation handling of credentials. 2017-10-27 13:05:13 -04:00
Nick Couchman 62fafcb379 GUACAMOLE-362: Move password decryption logic into TicketValidationService class. 2017-10-27 13:05:13 -04:00
Nick Couchman 63134322b0 GUACAMOLE-362: Remove debug line. 2017-10-27 13:05:13 -04:00
Nick Couchman 453a879876 GUACAMOLE-362: Catch exceptions individually and display useful error messages. 2017-10-27 13:05:13 -04:00