GitHub user mike-jumper opened a pull request:
https://github.com/apache/incubator-guacamole-client/pull/190
GUACAMOLE-393: Add extension logout/shutdown hooks
This change modifies the Guacamole extension API, adding the following
additional hooks:
Class / Interface | Function | Description
------------------------ | -------------- | -----------
`AuthenticationProvider` | `shutdown()` | The web application is being
shut down, and the `AuthenticationProvider` should clean up any resources which
will not be automatically freed.
`AuthenticatedUser` | `invalidate()` | The user associated with the
`AuthenticatedUser` is logging out, or their session has been automatically
invalidated.
`UserContext` | `invalidate()` | The user associated with the
`UserContext` is logging out, or their session has been automatically
invalidated.
Existing extensions have been updated accordingly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mike-jumper/incubator-guacamole-client
logout-shutdown-hooks
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-guacamole-client/pull/190.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 #190
----
commit c20457f89b6d0658bbb684264e06d71fb608817f
Author: Michael Jumper <[email protected]>
Date: 2017-05-30T02:03:42Z
GUACAMOLE-393: Add session invalidation hooks to AuthenticatedUser.
commit 45adf2fd9392338cb100379d28ad64f5e7abff6e
Author: Michael Jumper <[email protected]>
Date: 2017-05-30T03:52:45Z
GUACAMOLE-393: Add session invalidation hooks to UserContext.
commit 2c587e5f9ffe8aa84c460b8f63cd71483bd4bc7f
Author: Michael Jumper <[email protected]>
Date: 2017-05-30T04:21:48Z
GUACAMOLE-393: Add AuthenticationProvider shutdown hook.
----
---