Commit Graph

210 Commits

Author SHA1 Message Date
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
Michael Jumper
19fe9dcc9b Should return null if user is not valid. 2011-12-21 00:09:18 -08:00
Michael Jumper
cc2e57e1d6 auth-provider property should be required. 2011-12-20 21:43:16 -08:00
Michael Jumper
0439f0043e If AuthenticationProvider property not provided, parseValue() should return null. 2011-12-20 21:42:26 -08:00
James Muehlner
d327940d2a removed null pointer exception catch block left in from testing 2011-12-20 11:55:02 -08:00
James Muehlner
5ba1f9fea3 Merge branch 'unstable' of ssh://guacamole.git.sourceforge.net/gitroot/guacamole/guacamole into unstable 2011-12-20 11:48:13 -08:00
James Muehlner
3a7e72cc2f Fixed problem in class loader. Modified to use Class.forName() 2011-12-20 11:47:41 -08:00
Michael Jumper
8481bc4f0c Changed 'No authorized configurations' message to something more reasonable. 2011-12-20 00:00:39 -08:00
Michael Jumper
f34e577082 Fixed comments. 2011-12-18 21:33:51 -08:00
Michael Jumper
06189b65bd Removed unused retrieval of auth provider. 2011-12-10 15:21:26 -08:00
Michael Jumper
94590d847f Fix ticket #66 - XMLReader.parse() can throw an exception if string given is a path and not a URI. Using Reader as InputSource, forcing interpretation of string as local path. 2011-12-08 23:36:38 -08:00
Michael Jumper
9d01e530f8 Restored dependencies (removed "provided"), added lib-directory parameter, added custom classloader which reads .jar's from lib-directory, using new classloader to find auth provider. 2011-08-26 13:20:26 -07:00
Michael Jumper
e47e66c906 Formatting. 2011-08-17 09:36:08 -07:00
Michael Jumper
cff7445529 Auth API improvements, logout link. 2011-08-16 19:00:00 -07:00
Michael Jumper
111e9163e2 Switch to external auth API. 2011-08-15 09:39:07 -07:00
Michael Jumper
ab90d1d846 Converted to generic credentials. 2011-08-14 23:19:49 -07:00
Michael Jumper
c559f4ae33 Added UserConfiguration, refactored auth into own package. 2011-08-14 19:38:05 -07:00
Michael Jumper
e2e110b12f Working multiple-config login stub. 2011-08-12 21:40:07 -07:00
Michael Jumper
9ef50a1ce7 Working login + connection list UI stub. 2011-08-11 09:57:25 -07:00
Michael Jumper
8b8ee8dae3 Handle possible NPE in mapping loader. 2011-07-15 00:26:26 -07:00