Commit Graph

6989 Commits

Author SHA1 Message Date
Michael Jumper
022c66c31f Fixed project URL. 2012-03-26 18:51:36 -07:00
Michael Jumper
34e0292e0e Fixed project URL. 2012-03-26 18:51:23 -07:00
Michael Jumper
e8ee79a5b0 Fixed project URL. 2012-03-26 18:51:16 -07:00
Michael Jumper
57c5694142 Fixed project URL. 2012-03-26 18:51:08 -07:00
Michael Jumper
147829ad7c Should be able to retrieve the configuration associated with a socket. 2012-03-26 13:46:20 -07:00
Michael Jumper
8a17e6592e Make Credentials as serializable as possible. 2012-03-26 12:34:36 -07:00
Michael Jumper
3086c081dd Get ClassLoader within doPrivileged(). 2012-03-26 12:34:04 -07:00
Michael Jumper
5027be97bc Close guacamole.properties when done. 2012-03-26 12:33:36 -07:00
Michael Jumper
13d82c6a38 Removed unused field. 2012-03-26 12:05:45 -07:00
Michael Jumper
fae54e2cca Removed unused error string. 2012-03-26 11:59:53 -07:00
Michael Jumper
1c7a82c286 Include exceptions in logger errors. 2012-03-26 11:52:22 -07:00
Michael Jumper
e476350314 Fixed logger usage. 2012-03-26 11:51:14 -07:00
Michael Jumper
762c84f25f Add isOpen() to socket and tunnel. Add getSocket() to tunnel. 2012-03-26 11:34:42 -07:00
Michael Jumper
4b72a166ec Remove use of Apache Commons. 2012-03-26 11:14:27 -07:00
Michael Jumper
fd4b4610ae Should send "403 - Forbidden" for security exceptions, not "401 - Unauthorized". 2012-03-25 23:09:40 -07:00
Michael Jumper
7e240f8cce It is a security error to request a config that does not exist. 2012-03-25 23:05:50 -07:00
Michael Jumper
631ec6120e Change "Connection does not exist" to more user-friendly error. 2012-03-25 23:03:54 -07:00
Michael Jumper
3b7b8382a3 Add error for status code of 0. 2012-03-25 17:56:33 -07:00
Michael Jumper
d4aabf013b Assume space cap if blank (blank caps would otherwise not render, and IE trims the contents of XML tags, which breaks the OSK spacebar). 2012-03-25 13:37:16 -07:00
Michael Jumper
757ddec1ae Add default connection name, do not hide cursor after error, remove old classes. 2012-03-24 22:57:40 -07:00
Michael Jumper
50d8e4c319 Remove use of X-Guacamole-Error-Message header, return null rather than throwing exception when config not found. 2012-03-24 22:48:29 -07:00
Michael Jumper
fbec97f356 Actually send the error code specified... 2012-03-24 22:45:47 -07:00
Michael Jumper
aa7c16f67d Improved handling of no tunnel. 2012-03-24 22:19:24 -07:00
Michael Jumper
36f4d68991 JavaDoc. 2012-03-24 22:06:15 -07:00
Michael Jumper
9b36638bf3 Use appropriate exceptions where possible, turn exceptions into appropriate error codes. 2012-03-24 22:03:52 -07:00
Michael Jumper
f42fe962e2 Distinct client/server exceptions. 2012-03-24 20:16:05 -07:00
Michael Jumper
d2198016c0 Added three new exception types. 2012-03-24 20:09:12 -07:00
Michael Jumper
b80ede52a4 Generic error messages from status codes. 2012-03-24 19:13:32 -07:00
Michael Jumper
e6249fbf5b Do not use X-Guacamole-Error-Message - use status code only. 2012-03-24 16:57:58 -07:00
Michael Jumper
0f2c1c01aa Cleaned up styling slightly, fixed display of reconnect button. 2012-03-23 23:48:19 -07:00
Michael Jumper
356f7d79b0 Need overflow: hidden for software-cursor, otherwise the cursor exiting the side of the display actually extends the display, and the mouse pointer can be moved off the display entirely if moved slowly enough. 2012-03-23 23:33:08 -07:00
Michael Jumper
be0a0a0226 No need for constant "GUAC" or reselection. Added oninput handler such that voice input, etc. will also work! 2012-03-23 23:18:41 -07:00
Michael Jumper
497552bbf6 Removed unused import. 2012-03-23 22:41:37 -07:00
Michael Jumper
55639817b4 Read event listeners from properties. 2012-03-23 17:34:24 -07:00
Michael Jumper
fa10dba566 Automatically attach tunnel. 2012-03-23 16:03:36 -07:00
Michael Jumper
f903b22fe9 Rename attribute following convention. 2012-03-23 16:01:35 -07:00
Michael Jumper
2bf18676ad Add tunnel connect/close notification. 2012-03-23 16:01:07 -07:00
Michael Jumper
0285fe371a Rename attach/detach listeners to connect/close. 2012-03-23 15:31:03 -07:00
Michael Jumper
32741e87c1 Get credentials and configs from AuthenticatingHttpServlet, allow main HTTP tunnel servlet to take care of attach(). 2012-03-23 15:24:36 -07:00
Michael Jumper
c2eb0744ac Monitoring connect/close rather than attach/detach (as attach/detach is too low level, buried within the base HTTP tunnel implementation). 2012-03-23 15:21:44 -07:00
Michael Jumper
8a27a79a6b Use final Strings for attribute names. 2012-03-23 15:10:55 -07:00
Michael Jumper
2cf91df11e Cache credentials in session, provide getters for retrieving configs and credentials from session. 2012-03-23 15:08:21 -07:00
Michael Jumper
d831969322 Added missing constructors. 2012-03-23 14:04:03 -07:00
Michael Jumper
022e711f32 Added calls to any authentication success/fail hooks. 2012-03-23 13:53:17 -07:00
Michael Jumper
54b763742b Implemented SessionListenerCollection - a simple auto-populating collection of instances of all available listeners. 2012-03-23 13:45:06 -07:00
Michael Jumper
a979a7d9de Migrate to guacamole-ext. 2012-03-23 13:33:24 -07:00
Michael Jumper
837614800d Allow listeners to throw exceptions from within hooks. 2012-03-23 12:13:54 -07:00
Michael Jumper
fc6750da00 Tunnel attach and detach listeners. 2012-03-23 12:09:24 -07:00
Michael Jumper
e13b62a993 Tunnel attach and detach events. 2012-03-23 12:04:08 -07:00
Michael Jumper
fe7de5201a TunnelEvent interface. 2012-03-23 12:00:37 -07:00