Google Login

Google Login

Description: The GLogin Component encapsulates the required steps needed to login to an Google App Engine (GAE) application. This component uses a href=http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html ClientLogin for authentication and a GAE-specific mechanism for authorization. Result of the login procedure is an authorization cookie that should be included in HTTP requests targeted at GAE applications. This component is intended for being used by Java client applications that want to do a programmatic login to GAE applications. Web applications should use the GAuthComponent for access authorization to other web applications.
Scheme: glogin
Syntax: glogin:hostName
Maven: org.apache.camel/camel-gae/2.16.1

Represents a GLogin Endpoint.

Name Kind Group Required Default Type Enum Description
hostName path producer true java.lang.String Returns the internet hostname of the GAE application where to login.
clientName parameter producer java.lang.String Sets the client name used for authentication. The default name is apache-camel-2.x.
devAdmin parameter producer boolean Set to true for logging in as admin to a development server. Only used if {@link #devMode} is true. Default is false.
devMode parameter producer boolean Set to true for connecting to a development server.
devPort parameter producer int Returns the port for connecting to a development server. Only used if {@link #devMode} is true. Default is 8080.
password parameter producer java.lang.String Sets the login password.
userName parameter producer java.lang.String Sets the login username (a Google mail address).
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).