GitHub user mike-jumper opened a pull request:

    https://github.com/apache/incubator-guacamole-client/pull/151

    GUACAMOLE-289: Allow extensions to provide their own REST services.

    This changes adds a `getResource()` function to both 
`AuthenticationProvider` and `UserContext` which can return an arbitrary REST 
service annotated with JSR-311 annotations (JAX-RS). The resource returned by 
`AuthenticationProvider` is available without authenticating with the 
extension, while the resource returned by `UserContext` implicitly requires 
authentication (there would be no `UserContext` instance to return it 
otherwise).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mike-jumper/incubator-guacamole-client 
extension-rest

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-guacamole-client/pull/151.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 #151
    
----
commit 4455cbc78124365dd7a3247afa7f651715cf763c
Author: Michael Jumper <[email protected]>
Date:   2017-04-29T19:34:32Z

    GUACAMOLE-289: Add getResource() functions to UserContext and 
AuthenticationProvider, allowing extensions to expose arbitrary REST 
resources/services.

commit aa261410f4a457da99fcf49baed605697a853729
Author: Michael Jumper <[email protected]>
Date:   2017-04-29T20:38:52Z

    GUACAMOLE-289: Isolate extension REST services to ".../api/ext/" and 
".../api/session/ext".

commit 8142b2d5f808aaaf9c3e4ae1f9c5826e47c93218
Author: Michael Jumper <[email protected]>
Date:   2017-04-29T21:00:10Z

    GUACAMOLE-289: Clarify behavior of getResource() with respect to 
authenticated vs. unauthenticated.

----


---
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.
---

Reply via email to