You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Ignasi Barrera <no...@github.com> on 2015/05/27 15:44:26 UTC

[jclouds] Propagate an AuthorizationException on OAuth client errors (#753)

OAuth will be used as an authentication filter, so all client errors produced in the OAuth calls should be treated as an `AuthorizationException`. This will allow providers and clients to properly handle and react to OAuth specific errors.

/cc @danbroudy
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/753

-- Commit Summary --

  * Propagate an AuthorizationException on OAuth client errors

-- File Changes --

    M apis/oauth/src/main/java/org/jclouds/oauth/v2/AuthorizationApi.java (5)
    A apis/oauth/src/main/java/org/jclouds/oauth/v2/OAuthFallbacks.java (57)
    M apis/oauth/src/test/java/org/jclouds/oauth/v2/AuthorizationApiMockTest.java (82)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/753.patch
https://github.com/jclouds/jclouds/pull/753.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/753

Re: [jclouds] Propagate an AuthorizationException on OAuth client errors (#753)

Posted by Ignasi Barrera <no...@github.com>.
Closed #753.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/753#event-323524167

Re: [jclouds] Propagate an AuthorizationException on OAuth client errors (#753)

Posted by Ignasi Barrera <no...@github.com>.
Pushed to master as [97c16087](http://git-wip-us.apache.org/repos/asf/jclouds/commit/97c16087).

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/753#issuecomment-109284757