Repository: camel Updated Branches: refs/heads/master 6fa5657fe -> 350113734
Component docs Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d486ee80 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d486ee80 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d486ee80 Branch: refs/heads/master Commit: d486ee8051c2e450178b83126ed48a86f0ba5e6a Parents: 6fa5657 Author: Claus Ibsen <davscl...@apache.org> Authored: Sun Jun 14 15:58:42 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sun Jun 14 15:58:42 2015 +0200 ---------------------------------------------------------------------- .../camel/component/gae/auth/GAuthComponent.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/d486ee80/components/camel-gae/src/main/java/org/apache/camel/component/gae/auth/GAuthComponent.java ---------------------------------------------------------------------- diff --git a/components/camel-gae/src/main/java/org/apache/camel/component/gae/auth/GAuthComponent.java b/components/camel-gae/src/main/java/org/apache/camel/component/gae/auth/GAuthComponent.java index d140b3b..90b6280 100644 --- a/components/camel-gae/src/main/java/org/apache/camel/component/gae/auth/GAuthComponent.java +++ b/components/camel-gae/src/main/java/org/apache/camel/component/gae/auth/GAuthComponent.java @@ -51,6 +51,10 @@ public class GAuthComponent extends UriEndpointComponent { return consumerKey; } + /** + * Domain identifying the web application. This is the domain used when registering the application with Google. + * Example: camelcloud.appspot.com. For a non-registered application use anonymous. + */ public void setConsumerKey(String consumerKey) { this.consumerKey = consumerKey; } @@ -59,6 +63,10 @@ public class GAuthComponent extends UriEndpointComponent { return consumerSecret; } + /** + * Consumer secret of the web application. The consumer secret is generated when when registering the application with Google. + * It is needed if the HMAC-SHA1 signature method shall be used. For a non-registered application use anonymous. + */ public void setConsumerSecret(String consumerSecret) { this.consumerSecret = consumerSecret; } @@ -67,6 +75,11 @@ public class GAuthComponent extends UriEndpointComponent { return keyLoader; } + /** + * To configure a key loader to use. + * Part of camel-gae are two key loaders: GAuthPk8Loader for loading a private key from a PKCS#8 file and GAuthJksLoader to load a private key from a Java key store. + * It is needed if the RSA-SHA1 signature method shall be used. These classes are defined in the org.apache.camel.component.gae.auth package. + */ public void setKeyLoader(GAuthKeyLoader keyLoader) { this.keyLoader = keyLoader; }