GitHub user mike-jumper opened a pull request:
https://github.com/apache/incubator-guacamole-client/pull/32
GUACAMOLE-5: Implement connection sharing within database auth
This change adds support for generation of temporary user credentials for
shared connections.
The implementation produces sets of credentials which define only a single
query parameter (`key`), which is accepted by the `AuthenticationProvider` and
tied to a new `SharedConnectionUserContext`. The user context provides access
only to a single connection which transparently joins the underlying existing
connection, with the whole tree of data residing only in memory.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mike-jumper/incubator-guacamole-client
jdbc-sharing-credentials
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-guacamole-client/pull/32.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #32
----
commit e1f4e6574e89bacb9adac60036676939fc18e779
Author: Michael Jumper <[email protected]>
Date: 2016-07-20T20:33:51Z
GUACAMOLE-5: Add randomly-generated connection sharing keys.
commit 75f74eec94a2e8d0bfd1f04267669f5de6a0c2f0
Author: Michael Jumper <[email protected]>
Date: 2016-07-20T20:42:57Z
GUACAMOLE-5: Extract common base class for AuthenticatedUser.
commit b68a8c128c02ebda3341ab2ea6a2144e67b97181
Author: Michael Jumper <[email protected]>
Date: 2016-07-20T20:47:03Z
GUACAMOLE-5: Implement storage of ActiveConnection/SharingProfile pairs by
an assigned share key.
commit bfa5c38123390a991dbf29d90516ef5285d63064
Author: Michael Jumper <[email protected]>
Date: 2016-07-21T20:27:39Z
GUACAMOLE-5: Implement sharing-specific user context and in-memory storage.
Add additional tracking of connections for sake of sharing.
commit 19f80dac9533faa48be9f95c162d158a87965935
Author: Michael Jumper <[email protected]>
Date: 2016-07-21T21:20:28Z
GUACAMOLE-5: Implement joining of shared connections via temporary
credentials.
commit 43761ef482e86bb2027b67d151f413716e333297
Author: Michael Jumper <[email protected]>
Date: 2016-07-21T22:16:09Z
GUACAMOLE-5: Verify sharing profile belongs to the requested connection.
commit 702441d7208c1f4ea4d5db424d68b4f68f6de985
Author: Michael Jumper <[email protected]>
Date: 2016-07-21T22:16:34Z
GUACAMOLE-5: Do not attempt to join a closed connection.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---