org.apache.camel.component.gae.login
Class GLoginProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.gae.login.GLoginProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class GLoginProducer
- extends DefaultProducer
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
GLoginProducer
public GLoginProducer(GLoginEndpoint endpoint)
getEndpoint
public GLoginEndpoint getEndpoint()
- Specified by:
getEndpoint in interface Producer- Overrides:
getEndpoint in class DefaultProducer
getOutboundBinding
public OutboundBinding<GLoginEndpoint,GLoginData,GLoginData> getOutboundBinding()
getService
public GLoginService getService()
process
public void process(Exchange exchange)
throws Exception
- First obtains an authentication token and then exchanges the token against
an authorization cookie.
- Parameters:
exchange -
- Throws:
Exception- See Also:
GLoginBinding,
GLoginServiceImpl
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.