GeezerVison is showing github.com — Add ServiceAccountSigner interface, enable signing for AE credentials by mziccard · Pull Request #854 · googleapis/google-cloud-java
Conversation
mziccard
commented
Apr 5, 2016
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
This PR follows from #701:
- Add
SigningAuthCredentials interface
- Make
AppEngineAuthCredentials extend SigningAuthCredentials and enable signing on AE
- Make
AppEngineAuthCredentials public as other AuthCredentials classes
- Change
createApplicationDefaults to return ServiceAccountAuthCredentials if a service account is available
- Add constructor to
ApplicationDefaultAuthCredentials that takes GoogleCredentials
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
package com.google.gcloud;
|
|
|
|
|
|
/**
|
|
|
* Interface for authentication credentials that support signing.
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Nice work! I really like the way you handled the default credentials.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Changes Unknown when pulling 08e23ff on mziccard:signing-auth-interface into * on GoogleCloudPlatform:master*.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Looks great. Few more suggestions.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Changes Unknown when pulling 72ae3cb on mziccard:signing-auth-interface into * on GoogleCloudPlatform:master*.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
@@ -470,20 +470,26 @@ public WriteChannel writer(BlobWriteOption... options) { |
|
|
* {@link StorageOptions} do not implement {@link ServiceAccountSigner} (this is the case for
|
|
|
* Compute Engine credentials and Google Cloud SDK credentials) then {@code signUrl} will throw an
|
|
|
* {@link IllegalArgumentException} unless an implementation of {@link ServiceAccountSigner} is
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Looks good. One ( x 2) Javadoc fix, and I think we can fix the codacy complaint as well.
Feel free to merge after.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mziccard
changed the title
Add SigningAuthCredentials interface, enable signing for AE credentials
Add ServiceAccountSigner interface, enable signing for AE credentials
Apr 6, 2016
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|