Commit Graph

35 Commits

Author SHA1 Message Date
Ignasi Barrera 97c160879e Propagate an AuthorizationException on OAuth client errors 2015-06-05 14:32:49 +02:00
Ignasi Barrera ba93170813 Amended OAuth API pom.xml 2015-04-15 11:03:26 +02:00
Ignasi Barrera 2a12587bf2 Next development version 2.0.0-SNAPSHOT 2015-03-24 11:07:27 +01:00
Ignasi Barrera 225c45fd4f Apache jclouds 1.9.0 release 2015-03-24 11:06:18 +01:00
Adrian Cole 46a7351a8a * Refactor OAuth to be less complex.
* Remove oauth as a standalone api.
 * Rename redundant OAuthAuthenticationFilter to OAuthFilter.
 * Make AuthorizationApi more simple by using form semantics.
 * Simplified OAuth by only permitting RS256 and none algos.
2014-11-18 10:43:33 -08:00
Adrian Cole a35d73c6d0 Dedupe code between google cloud products. 2014-11-13 11:02:44 -08:00
Adrian Cole 19e2cdd5d2 * Change OAuthScopes into an interface as opposed to boilerplating annotations.
* Fixed errors because of boilerplating annotations.
2014-11-12 20:29:16 -08:00
Adrian Cole 7a644f8b6e * Refactor OAuth so that it doesn't require private keys when we aren't signing anything.
* Rename constant serviceAccountCredentials to p12PrivateKeyCredentials as this better describes the credential value.
2014-11-11 16:20:58 -08:00
Chris Custine 639b480650 Fix support for bearer tokens 2014-11-07 17:44:24 -07:00
Adrian Cole eb8b154869 JCLOUDS-750 Remove need for custom json type adapters on OAuth. 2014-11-02 08:28:42 -08:00
Adrian Cole 35156560dc Decomplicate OAuth a little. 2014-10-31 08:50:50 -07:00
Adrian Cole cd8aeed16d Use AutoValue to reduce bulk of Google Storage value types. 2014-10-30 09:40:44 -07:00
Adrian Cole 07d7a5a749 JCLOUDS-750 At the cost of fiddling with type hierarchy adapters, remove lots of junk with google auto. 2014-10-27 09:27:54 -07:00
Adrian Cole f94d0caf3b Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit e2e288ee86d537d249c7e58c782a66b0201f2134.

Many conflicts on account of lots of changes since the original commit.
2014-10-24 10:54:47 -07:00
Adrian Cole 52cf5555db Remove stale javadoc references to AsyncApi. 2014-10-05 13:22:35 -07:00
Chris Custine d728e0343a JCLOUDS-633: Support passing bearer token directly for OAuth2 2014-08-13 16:11:44 -06:00
Chris Custine 00d9edc1e6 JCLOUDS-643: Fix Google and OAuth tests 2014-08-13 13:47:55 -06:00
Andrew Gaul 5c1e36e5d1 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:55:25 -07:00
Andrew Phillips a6ad6d463d Updating project and jclouds.version to 2.0.0-SNAPSHOT 2014-08-05 11:46:53 +02:00
Andrew Gaul e608c35a02 JCLOUDS-546: Remove Javadoc @author annotations
Annotations removed with:

find -name \*.java | xargs sed -i /@author/d

Empty Javadoc removed with multiple iterations of:

find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:15:00 -07:00
Andrew Gaul 289197a560 Prefer Guava Files over FileInputStream
This ensures proper resource handling.
2014-05-22 00:26:03 -07:00
Andrew Gaul a85b91904f Migrate InputSupplier callers to ByteSource
A future version of Guava will remove InputSupplier.
2014-05-17 00:39:09 -07:00
Andrew Gaul 1e48a1daea Make constants final classes instead of interfaces
This commit prohibits implementation of the empty interface and
instantiation of the class.  Refer to _Effective Java_ item 19 for
more background.
2014-05-16 09:49:16 -07:00
Andrew Bayer e2e61c4885 Updating to 1.8.0-SNAPSHOT 2013-12-17 11:51:02 -08:00
Andrew Gaul f6dc1f39a3 Enforce no unused imports via Checkstyle
Removed with:

mvn checkstyle:checkstyle --quiet -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | while read i; do echo $i | sed -n 's/\([^:]*\):\([^:]*\):.*/sed -i \2d \1/p' | bash; done
2013-12-11 17:29:36 -08:00
Andrew Gaul b17adea879 Address Checkstyle violations 2013-12-01 23:22:47 -08:00
Rick Wright 61b99641ac Fix Live Tests for JCLOUDS-360 which rely on platform-dependent nanoseconds. 2013-11-20 15:26:30 -05:00
Alex Heneveld f6f901065e JCLOUDS-372: changing OAuth timeout from MINUTES to SECONDS 2013-11-12 12:06:19 +01:00
Alex Heneveld 7e2cebaec5 fix for JCLOUDS-360, replace platform-dependent assumption that nanosecond resolution ticker uses epoch 1970 as origin with guaranteed behaviour at millisecond-level resolution of System.currentTimeMillis 2013-10-29 23:18:55 -07:00
Andrew Bayer deafad060c JCLOUDS-31. License header cleanup 2013-05-24 12:01:40 -07:00
Ignasi Barrera 32279289c0 JCLOUDS-64: Update license headers 2013-05-24 01:06:46 +02:00
Andrew Bayer a2d8925f02 JCLOUDS-80. Inherit apache-rat plugin config. 2013-05-22 10:29:56 -04:00
Andrew Bayer f08e98c6f0 JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 10:46:01 -07:00
Andrew Bayer 048e6384aa JCLOUDS-23. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos. 2013-05-13 10:44:56 -07:00
adriancole 4da1ba8ff5 organized google code into its own subdir 2013-04-28 22:56:26 -07:00