Commit Graph

1422 Commits

Author SHA1 Message Date
Michael Jumper
d95fe6fa53 Refactor Directory interface to require objects which contain their own identifiers. Refactor to Connection directory rather than GuacamoleConfiguration directory. 2013-01-31 14:29:24 -08:00
Michael Jumper
ef8ec1e123 Create Connection class. 2013-01-31 14:28:38 -08:00
Michael Jumper
df6426e04a Migrate to generic Directory interface. 2013-01-31 12:57:06 -08:00
Michael Jumper
5b9bec3366 Remove Directory specifics, implement single, generic Directory interface. 2013-01-31 12:56:50 -08:00
Michael Jumper
18f98464ff Update docs to reflect new guacamole.properties location. 2013-01-31 10:28:02 -08:00
Michael Jumper
7f0135ee69 Move GuacamoleProperties stuff to guacamole-ext. 2013-01-31 10:07:11 -08:00
Michael Jumper
c003a2c225 Move GuacamoleProperties stuff to guacamole-ext. 2013-01-31 10:07:00 -08:00
Michael Jumper
69b7d7ead7 Read guacamole.properties from home directory first. 2013-01-31 10:01:55 -08:00
Michael Jumper
bff58e38a3 Should send "403 - Forbidden" if user not found. 2013-01-31 00:00:48 -08:00
Michael Jumper
72eb1ba36e Implement UserDirectory within SimpleUserContext. 2013-01-30 23:39:45 -08:00
Michael Jumper
a19b1af6f7 Migrate XML servlets to latest revision of auth API. 2013-01-30 23:27:12 -08:00
Michael Jumper
8dc7a25977 Implement hasPermission(). 2013-01-30 23:25:46 -08:00
Michael Jumper
e37d0eb1c9 Implement equals() and hashCode() for permissions. 2013-01-30 23:24:56 -08:00
Michael Jumper
01477ba063 Remove Comparable from AbstractUser. 2013-01-30 23:06:09 -08:00
Michael Jumper
7e4a210ba5 Provide means for retrieving configuration by identifier. 2013-01-30 23:04:31 -08:00
Michael Jumper
c20a479449 Provide means for retrieving Users by username. 2013-01-30 23:01:11 -08:00
Michael Jumper
493090195a Migrate SimpleAuthenticationProvider to model with permissions residing in User. 2013-01-30 22:49:31 -08:00
Michael Jumper
b244058a57 Remove PermissionDirectory, migrate functionality to User. 2013-01-30 22:43:24 -08:00
Michael Jumper
53bb4e31b0 Remove GuacamoleConfigurationTemplate - shouldn't be in auth provider. 2013-01-30 22:38:48 -08:00
Michael Jumper
2925db8945 Remove by username, not by User. 2013-01-30 22:23:04 -08:00
Michael Jumper
eff951fdda Properly check for null when checking system permissions. 2013-01-30 15:01:54 -08:00
Michael Jumper
a53f36b046 Tag should be singular for user permission. 2013-01-30 14:07:58 -08:00
Michael Jumper
192d0050bb Add user and permissions lists. 2013-01-30 13:23:16 -08:00
Michael Jumper
9599d012a4 Query by username, add directory permission. 2013-01-30 13:13:31 -08:00
Michael Jumper
c6e414025a Allow per-user permissions listing, query by username. 2013-01-30 13:12:59 -08:00
Michael Jumper
77f02d6248 Fix typo in object permission type name. 2013-01-30 12:55:16 -08:00
Michael Jumper
6c866ac058 Fix parameter order of UserPermission constructor. 2013-01-30 02:15:21 -08:00
Michael Jumper
13d3159908 Store config permissions in XML attributes (#268). 2013-01-30 00:42:04 -08:00
Michael Jumper
25b2116fda Initial commit. 2013-01-29 19:35:35 -08:00
Michael Jumper
b6c1bc19ff Rename field value function reasonably. 2013-01-29 19:19:55 -08:00
Michael Jumper
0705f7099f Ensure I/O streams are closed when done in GuacamoleHTTPTunnelServlet. 2013-01-29 15:00:12 -08:00
Michael Jumper
dcd5adac04 Use guacamole-common 0.8.0. 2013-01-29 14:17:43 -08:00
Michael Jumper
f4ec322183 Use guacamole-common 0.8.0. 2013-01-29 14:17:27 -08:00
Michael Jumper
fbe1339623 Expose immutable List rather than array in GuacamoleInstruction. Bump version to 0.8.0. 2013-01-29 14:17:11 -08:00
Michael Jumper
1b103f80a8 Remove operation enum - just use opcode. 2013-01-29 14:07:49 -08:00
Michael Jumper
c1c744f6fb Bump version. 2013-01-29 14:03:32 -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
59886fcdc2 Implement templates (for configuration interface construction). 2013-01-29 11:35:59 -08:00
Michael Jumper
ab1c65ac92 Remove unused Role. 2013-01-29 02:36:36 -08:00
Michael Jumper
3a47e3ffa1 Fix wrong package and typo. 2013-01-29 02:32:45 -08:00
Michael Jumper
e9253473d1 Add package-info.java files. 2013-01-29 00:34:18 -08:00
Michael Jumper
b7872eb202 Allow permission queries. 2013-01-28 22:21:24 -08:00
Michael Jumper
1f81b952fe Configuration should be stored. 2013-01-28 17:06:10 -08:00
Michael Jumper
c537e4fe2c ObjectPermissions in general should deal only with identifiers. 2013-01-28 16:50:14 -08:00
Michael Jumper
dfca47d415 UserPermission should use username. 2013-01-28 16:45:30 -08:00
Michael Jumper
2df5207518 GuacamoleConfigurationPermission should take identifier as subject, not actual GuacamoleConfiguration. 2013-01-28 16:43:01 -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
01f8b4c596 Implement simple authentication provider base class (for convenience and testing). 2013-01-28 12:21:41 -08:00