org.apache.camel.component.gae.login
Class GLoginComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.camel.component.gae.login.GLoginComponent
All Implemented Interfaces:
Component, Service, ShutdownableService

public class GLoginComponent
extends DefaultComponent

The GLogin Component encapsulates the required steps needed to login to an Google App Engine (GAE) application. This component uses 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.


Constructor Summary
GLoginComponent()
           
GLoginComponent(CamelContext context)
           
 
Method Summary
protected  Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
afterConfiguration, createEndpoint, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLoginComponent

public GLoginComponent()

GLoginComponent

public GLoginComponent(CamelContext context)
Method Detail

createEndpoint

protected Endpoint createEndpoint(String uri,
                                  String remaining,
                                  Map<String,Object> parameters)
                           throws Exception
Specified by:
createEndpoint in class DefaultComponent
Throws:
Exception


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.