Commit Graph

3493 Commits

Author SHA1 Message Date
Michael Jumper
cfac865807 GUACAMOLE-5: Map sharing profile model objects to database schema. 2016-07-19 22:26:30 -07:00
Michael Jumper
21f5aba548 GUACAMOLE-5: Add sharing profiles to database schema. 2016-07-19 11:21:45 -07:00
James Muehlner
4e0929c665 GUACAMOLE-5: Merge sharing profile API changes. 2016-07-17 15:27:00 -07:00
Michael Jumper
9b2909445a GUACAMOLE-5: Move single space from UserTunnel to PermissionSetResource. 2016-07-17 14:54:32 -07:00
Michael Jumper
7ea4af7016 GUACAMOLE-5: Provide direct access via REST to the sharing profiles available for the active connection of a given tunnel. 2016-07-16 20:44:40 -07:00
Michael Jumper
bb36045ff8 GUACAMOLE-5: Add DirectoryView object, providing a Directory interface around a restricted subset of objects within another existing Directory. 2016-07-16 11:42:48 -07:00
Michael Jumper
62dcd9e9ec GUACAMOLE-5: Implement JavaScript service for retrieving sharing credentials from an active connection. 2016-07-16 11:42:48 -07:00
Michael Jumper
c6ce92bd0a GUACAMOLE-5: Implement retrieval of sharing credentials from an active connection via REST. 2016-07-16 11:42:47 -07:00
Michael Jumper
3dce3bc5b8 GUACAMOLE-5: Add Connection subresource to the ActiveConnection resource. 2016-07-16 11:42:47 -07:00
Michael Jumper
aeb60e7e53 GUACAMOLE-5: Add ActiveConnection subresource to the tunnel REST resource. 2016-07-16 11:42:47 -07:00
Michael Jumper
e4fe1a3a65 GUACAMOLE-5: Associate the UserContext with any created tunnel. 2016-07-16 11:42:47 -07:00
Michael Jumper
c231f4eb57 GUACAMOLE-5: Add SharingProfiles to REST API. 2016-07-16 11:42:47 -07:00
Michael Jumper
2131abb480 GUACAMOLE-5: Bring JDBC authentication up to date with sharing profile API changes. 2016-07-16 11:42:47 -07:00
Michael Jumper
4eebc3b301 GUACAMOLE-5: Bring LDAP authentication up to date with sharing profile API changes. 2016-07-16 11:42:47 -07:00
Michael Jumper
0a0b5000bf GUACAMOLE-5: ActiveConnections should be Shareable, to allow sharing links to be generated based on a SharingProfile. 2016-07-16 11:42:47 -07:00
Michael Jumper
e687ed040f GUACAMOLE-5: Define Shareable interface which defines a mechanism for generating (likely temporary) credentials. 2016-07-16 11:42:47 -07:00
Michael Jumper
f9f78a64fc GUACAMOLE-5: Define UserCredentials object which couples a CredentialsInfo with defined parameter values. 2016-07-16 11:42:47 -07:00
Michael Jumper
ad50a77293 GUACAMOLE-5: Implement QUERY_PARAMETER field type. 2016-07-16 11:42:47 -07:00
Michael Jumper
0f49c39ed4 GUACAMOLE-5: Track the sharing profile associated with an active connection. 2016-07-16 11:42:47 -07:00
Michael Jumper
a2ad7a69ab GUACAMOLE-5: Add sharing profile permissions. 2016-07-16 11:42:47 -07:00
Michael Jumper
eededc33ca GUACAMOLE-5: Define sharing profiles and their relationship to connections. 2016-07-16 11:39:44 -07:00
James Muehlner
11b64be3de GUACAMOLE-5: Merge creation of new common abstract identifiable class. 2016-07-16 11:18:06 -07:00
Michael Jumper
4e7f086f83 GUACAMOLE-5: Move common identifier equals() / hashCode() of abstract Identifiable implementations to common base class. 2016-07-16 11:09:10 -07:00
James Muehlner
37e9de6dfe GUACAMOLE-5: Merge REST API regression fix. 2016-07-14 14:45:54 -07:00
Michael Jumper
cdd71411fb GUACAMOLE-5: All REST resources MUST be non-generic. Type parameters of generic classes will otherwise be handled as Object by Jersey due to type erasure, resulting in class cast exceptions due to JSON being deserialized as a Map instead of the intended type. 2016-07-14 14:37:33 -07:00
Michael Jumper
bd8c37c737 GUACAMOLE-5: Ensure all exceptions from within REST make their way to a JSON response, even if not a GuacamoleException. 2016-07-14 14:34:59 -07:00
James Muehlner
de2dc9dd90 GUACAMOLE-5: Merge change to remove PATH from tunnel resource class. 2016-07-14 09:38:52 -07:00
Michael Jumper
6b98ce2c67 GUACAMOLE-5: Remove path from tunnel collection resource, as it is no longer a root resource. 2016-07-13 22:16:24 -07:00
James Muehlner
6e81a20185 GUACAMOLE-5: Merge REST resource refactor. 2016-07-12 22:07:06 -07:00
Michael Jumper
b66925c3d0 GUACAMOLE-5: Update tunnelService to match REST changes. 2016-07-12 22:02:41 -07:00
Michael Jumper
abef36e11f GUACAMOLE-5: Increase the documentation factor of DirectoryResource. 2016-07-12 21:42:15 -07:00
Michael Jumper
aeec3eca40 GUACAMOLE-5: DirectoryResource deals with objects, not users. 2016-07-12 21:40:58 -07:00
Michael Jumper
e4ed85cfcb GUACAMOLE-5: Refactor away ObjectRetrievalService. 2016-07-12 21:38:07 -07:00
Michael Jumper
b189f5fef9 GUACAMOLE-5: Consolidate UserContexts and tunnels under the same hierarchy. 2016-07-12 21:23:47 -07:00
Michael Jumper
60c672eeea GUACAMOLE-5: Ensure all API errors are returned as JSON. 2016-07-12 21:23:47 -07:00
Michael Jumper
fa286f549a GUACAMOLE-5: Consider methods annotated with @Path to be REST methods as well. 2016-07-12 21:23:47 -07:00
Michael Jumper
c586d1840d GUACAMOLE-5: Expose session as a REST resource. Refactor /api/data to /api/session/data. 2016-07-12 21:23:47 -07:00
Michael Jumper
1aa256b26c GUACAMOLE-5: Take superclass into account when determining whether a method is a REST method. 2016-07-12 21:23:47 -07:00
Michael Jumper
50295083d2 GUACAMOLE-5: Remove unneeded functions from ObjectRetrievalService. 2016-07-12 21:23:47 -07:00
Michael Jumper
3c9da92e9c GUACAMOLE-5: Rename SessionResource to SessionDataRESTService for consistency. 2016-07-12 21:23:47 -07:00
Michael Jumper
89eabc1d70 GUACAMOLE-5: Expose UserContext schema as a resource, not a separate REST service. Refactor URLs accordingly. 2016-07-12 21:23:47 -07:00
Michael Jumper
3658b91fe1 GUACAMOLE-5: Refactor HistoryRESTService as a resource. 2016-07-12 21:23:46 -07:00
Michael Jumper
3f7f6e6d5b GUACAMOLE-5: Ensure random password is generated for new users (if not otherwise specified). 2016-07-12 21:23:46 -07:00
Michael Jumper
86d94d18d4 GUACAMOLE-5: Move permission management to own resource. 2016-07-12 21:23:46 -07:00
Michael Jumper
374ad3eb23 GUACAMOLE-5: Replace UserRESTService with new resource-driven implementation. 2016-07-12 21:23:46 -07:00
Michael Jumper
61d581ef0d GUACAMOLE-5: Replace ActiveConnectionRESTService with new resource-driven implementation. 2016-07-12 14:53:24 -07:00
Michael Jumper
71c2b4e4d4 GUACAMOLE-5: Replace ConnectionGroupRESTService with new resource-driven implementation. 2016-07-12 14:53:24 -07:00
Michael Jumper
06b7887807 GUACAMOLE-5: Replace ConnectionRESTService with new resource-driven implementation. 2016-07-12 11:42:16 -07:00
Michael Jumper
bca4e34b51 GUACAMOLE-5: Provide UserContext to DirectoryObjectResourceFactory, in case needed by a particular resource (such as for additional permission checks). 2016-07-12 00:31:52 -07:00
Michael Jumper
f440f55823 GUACAMOLE-5: Validate that data was provided when creating/updating resources. 2016-07-12 00:20:36 -07:00