Commit Graph

259 Commits

Author SHA1 Message Date
Michael Jumper
4d255e21a1 GUAC-932: Get rid of APIConstants. 2014-12-15 16:13:06 -08:00
Michael Jumper
68d3b7741e GUAC-932: Migrate to PermissionSet for reading permissions. 2014-12-15 15:09:14 -08:00
Michael Jumper
b1db52541d GUAC-932: Remove filtering user service. Add permission filtering support to user retrieval endpoint. 2014-12-12 15:22:37 -08:00
Michael Jumper
ed23ae3a25 GUAC-932: Update protocol service to use Protocol class. Remove single permission add/remove from REST service. 2014-12-12 10:28:51 -08:00
Michael Jumper
b68f9a0a26 Merge branch 'master' into GUAC-546-REWRITE
Conflicts:
	guacamole/src/main/java/org/glyptodon/guacamole/net/basic/rest/protocol/ProtocolRetrievalService.java
	guacamole/src/main/webapp/scripts/admin-ui.js
	guacamole/src/main/webapp/scripts/service.js
2014-11-23 13:06:12 -08:00
Michael Jumper
534f4f45c1 GUAC-340: Add support for "username" parameter type. 2014-11-23 12:57:19 -08:00
Michael Jumper
7a697550e4 GUAC-921: Restore Jetty 9 support. Tunnel request service was marked for injection in the wrong place. 2014-11-06 13:03:26 -08:00
Michael Jumper
d1ec32d066 GUAC-921: Move WebSocket support loading into independent modules. 2014-11-06 12:41:07 -08:00
Michael Jumper
5ecb5c9306 GUAC-919: Do not expire active sessions. 2014-11-05 12:55:31 -08:00
Michael Jumper
4c6d838249 GUAC-919: Add new tunnels to session. If session does not exist upon closure, close tunnel anyway. 2014-11-05 12:28:01 -08:00
Michael Jumper
6bea1eed44 GUAC-919: Rename LoginRESTService to TokenRESTService and provide logout semantics. Move Angular auth stuff to own module. Actually logout user. 2014-11-05 12:10:05 -08:00
Michael Jumper
68a9a4f6dc GUAC-919: Implement basic session invalidate(). 2014-11-05 12:07:36 -08:00
Michael Jumper
ac2617b92a GUAC-919: Separate auth stuff into own module. Automatically shutdown TokenSessionMap when application is destroyed. 2014-11-03 12:08:15 -08:00
Michael Jumper
9821c38bb8 GUAC-919: Use minutes for timeout value. 2014-11-03 01:11:20 -08:00
Michael Jumper
44d924f1f9 GUAC-919: Implement period cleanup of sessions. Simplify TokenSessionMap implementation. 2014-11-03 01:06:07 -08:00
Michael Jumper
2c476d4d72 GUAC-919: Remove SessionKeepAlive (not needed without HttpSession). Consider sessions to be active so long as they have associated tunnels. 2014-11-01 23:54:13 -07:00
Michael Jumper
6fee9cb580 GUAC-919: Remove use of HttpSession. 2014-11-01 22:28:10 -07:00
Michael Jumper
c0395df8c1 GUAC-919: Add missing REST servlets. 2014-10-31 14:56:59 -07:00
Michael Jumper
f08bb485da GUAC-919: LoginRESTService should read form parameters (POST). 2014-10-31 14:56:28 -07:00
James Muehlner
6bf2ff3e2f GUAC-919: Copy REST and Guice changes over from GUAC-546 branch. 2014-10-31 00:07:28 -07:00
Michael Jumper
48382b8285 GUAC-915: Clean up all log messages within Guacamole. 2014-10-30 17:12:54 -07:00
Michael Jumper
ca199e1ea6 GUAC-914: Migrate to logback and latest SLF4J. Read logback.xml from GUACAMOLE_HOME if present. 2014-10-30 11:42:22 -07:00
Michael Jumper
c20adb46a9 GUAC-907: Log source address, using X-Forwarded-For if available (after validation). 2014-10-27 15:38:48 -07:00
Michael Jumper
6f81584aed GUAC-909: Log full exceptions only in debug level. Rephrase log messages. 2014-10-27 13:03:20 -07:00
Michael Jumper
770105de06 GUAC-909: Log "unsupported operation" exceptions at debug level. 2014-10-27 10:27:13 -07:00
Michael Jumper
b83c83c324 GUAC-906: Implement GuacamoleConnectionClosedException. Throw when read/write fails due to closure. 2014-10-26 15:14:35 -07:00
Michael Jumper
04ba001f15 GUAC-867: Add periodic keep-alive ping to ensure the session does not perish while a connection is active. 2014-10-13 03:25:31 -07:00
Michael Jumper
115f647f7a GUAC-878: Prefer WebSocket from JSR. Warn if HTTP used instead. 2014-10-12 22:17:59 -07:00
Michael Jumper
59356af44e GUAC-821: Properly handle null tunnels. 2014-10-12 21:52:36 -07:00
Michael Jumper
39ac1a191c GUAC-881: Properly handle missing parameter values. 2014-10-12 21:10:51 -07:00
Michael Jumper
e26a4c3b7d GUAC-878: Add support for Jetty 9.0.3 WebSocket. 2014-10-10 15:12:49 -07:00
Michael Jumper
b6f45c585f GUAC-878: Generalize loading of WebSocket classes in WebSocketSupportLoader. Note that Jetty support is specific to Jetty 8. Update documentation. 2014-10-10 13:54:20 -07:00
Michael Jumper
d3e625d0a3 GUAC-442: Remove enable-websocket property (enable by default). 2014-10-09 21:24:08 -07:00
Michael Jumper
b7548675df GUAC-442: Clean up packages. 2014-10-09 21:16:37 -07:00
Michael Jumper
8b13bfdb80 GUAC-442: Move base JSR implementation of WebSocket tunnel to guacamole-common. 2014-10-09 21:06:07 -07:00
Michael Jumper
c30afba91d GUAC-442: Tie new WebSocket implementation into authentication layer. Generalize tunnel requests. 2014-10-09 21:01:34 -07:00
Michael Jumper
99f59a6a4c GUAC-442: Add annotation-driven onMessage() as well - Jetty will not call MessageHandler.onMessage() at least when annotations are used. Not sure if this is different for programmatically-loaded endpoints. 2014-10-09 19:06:19 -07:00
Michael Jumper
7927ffa9b0 GUAC-442: Add JSR 356 implementation of WebSocket tunnel. 2014-10-09 18:22:14 -07:00
Michael Jumper
68f7afb8c9 GUAC-442: Restrict access to WebSocket tunnel using filter (rather than RestrictedHttpServlet like the rest of guac). 2014-10-09 15:29:45 -07:00
Michael Jumper
16b0f047ea GUAC-442: Use filter to authenticate and restrict access. 2014-10-09 14:50:08 -07:00
Michael Jumper
01b366bc19 GUAC-798: Call init() of superclass in WebSocket implementations. 2014-10-09 11:15:06 -07:00
Michael Jumper
2db4a783d7 GUAC-832: Use "enable-http-auth" property to control whether the "Authorization" header is considered during authentication. 2014-08-22 14:47:21 -07:00
Michael Jumper
045d5375e3 GUAC-832: Pull username/password from Authorization header if HTTP Basic is used. 2014-08-22 14:33:59 -07:00
Michael Jumper
84ac5cad99 GUAC-672: Add "telnet" to list of known protocols. Associate terminal icon with telnet. 2014-05-07 15:58:21 -07:00
Michael Jumper
0537a6afbc GUAC-609: Migrate outbound clipboard integration to new streams. 2014-04-10 16:41:05 -07:00
Michael Jumper
84b505dcb7 GUAC-589: Fix regression in clipboard support - do not handle Ctrl-V unless clipboard integration is actually enabled. 2014-03-28 15:00:06 -07:00
Michael Jumper
e993e96752 GUAC-565: Remove experimental code from master (it will be restored in a branch for the corresponding epic). 2014-03-24 22:23:58 -07:00
Michael Jumper
11b8e3673a GUAC-558: Send proper error when unable to connect due to lack of context. 2014-03-21 19:35:04 -07:00
Michael Jumper
1289c16869 GUAC-558: Send status along WebSocket when end-of-stream is received. 2014-03-21 11:06:31 -07:00
Michael Jumper
5eb84053cd GUAC-553: Send Guacamole status code as sole content of WebSocket close frame. 2014-03-19 11:26:09 -07:00