Commit Graph

379 Commits

Author SHA1 Message Date
Michael Jumper
13d3159908 Store config permissions in XML attributes (#268). 2013-01-30 00:42:04 -08:00
Michael Jumper
71fe398873 Let XML parser determine character encoding from header. 2013-01-29 14:00:06 -08:00
Michael Jumper
30e786e589 Use UTF-8 when converting password strings to bytes for hashing to MD5. 2013-01-29 13:59:41 -08:00
Michael Jumper
958eedb76b Migrate authentication to new API, bump version. 2013-01-28 12:41:52 -08:00
Michael Jumper
3216895490 Use SimpleAuthenticationProvider as base for basic file auth. 2013-01-28 12:23:12 -08:00
Michael Jumper
38f05511f3 Actually read parameter contents (oops). 2013-01-09 13:04:21 -08:00
Michael Jumper
506c92c733 Use StAX to write config XML. 2013-01-09 12:52:19 -08:00
Michael Jumper
320b9056c7 Clean up auth provider. 2012-12-24 18:28:44 -08:00
Michael Jumper
fac38e1fc2 Initial refactor to use DocumentHandler. 2012-12-24 18:19:05 -08:00
Michael Jumper
fe91db50d6 Add tag handlers for tags within the user mapping XML. 2012-12-24 18:13:41 -08:00
Michael Jumper
22386faa62 Add user mapping data model objects. 2012-12-24 18:13:27 -08:00
Michael Jumper
baa982daf1 DocumentHandlerState should be static. Automatically throw exception if no TagHandler returned. 2012-12-24 13:19:13 -08:00
Michael Jumper
4b45564835 getCurrentState() should return null when on root element. 2012-12-23 23:25:44 -08:00
Michael Jumper
d1663bd3a1 Implement MUCH simpler SAX-driven XML parser. 2012-12-23 22:31:36 -08:00
Michael Jumper
fec906227e Use TreeMap for holding configurations, such that connections will be sorted by ID (rather than arbitrarily). FIxes #216. 2012-12-09 00:07:26 -08:00
Michael Jumper
695edad4c7 Share state using session control object, add missing licenses, fix wrong license. 2012-11-04 21:51:23 -08:00
Michael Jumper
a585e52546 If specified, pass audio and video parameters via info to socket. 2012-10-23 19:58:23 -07:00
Michael Jumper
75a7d491b3 Add width/height parameters to basic tunnel. 2012-10-23 00:38:55 -07:00
Michael Jumper
bdd0ab250f Remove trailing whitespace. 2012-08-09 11:08:20 -07:00
Michael Jumper
b657d6cf6e Add missing handlers for default protocol/parameter. 2012-04-18 12:44:36 -07:00
Michael Jumper
13d9283465 Code cleanup, add backwards compatibility. 2012-04-18 12:31:20 -07:00
Michael Jumper
eccce8866f Fix indentation. 2012-04-18 12:12:34 -07:00
Michael Jumper
3703bf869d Fix wording of error message. 2012-04-18 12:11:17 -07:00
Michael Jumper
436d657db1 Rename remote-server to connection. 2012-04-18 12:08:05 -07:00
Michal Kotas
5508a5b393 Implement multiple authorized connections per user. 2012-04-18 12:02:23 -07:00
Michael Jumper
3086c081dd Get ClassLoader within doPrivileged(). 2012-03-26 12:34:04 -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
7e240f8cce It is a security error to request a config that does not exist. 2012-03-25 23:05:50 -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
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
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
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
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
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
2d15986886 Include generic error header when authentication fails. 2012-03-23 00:54:02 -07:00
Michael Jumper
7520ba1f98 Refactored as implementations of AuthenticatingHttpServlet. 2012-03-22 23:33:34 -07:00
Michael Jumper
19ddc917f2 Fixed log message. 2012-03-22 23:33:05 -07:00
Michael Jumper
da16d7ae78 Implemented AuthenticatingHttpServlet which automatically authenticates the requesting user (if possible), only allowing the request through if authentication succeeded. 2012-03-22 23:31:38 -07:00
Michael Jumper
194784809d Rename from guacamole-default-webapp to guacamole, migrate to guacamole-auth. 2012-03-22 22:44:39 -07:00
Michael Jumper
b2704ffcad Use logger, fix JavaDoc. 2012-03-07 20:29:41 -08:00
Michael Jumper
7dbbf9fa55 Merge branch 'unstable' into loadable-websocket-support 2012-03-07 19:48:28 -08:00
Michael Jumper
0dcaed693e Hint to browser that configuration list should not be cached. 2012-02-29 00:10:21 -08:00
Michael Jumper
ebb75a3494 Hackish support for loadable websocket servlets. 2012-01-25 18:34:56 -08:00
Michael Jumper
532bbbd107 No need to create Map if user not valid. 2011-12-21 00:09:51 -08:00