org.apache.camel.component.gae.login
Interface GLoginService

All Known Implementing Classes:
GLoginServiceImpl

public interface GLoginService

Interface to login services.


Method Summary
 void authenticate(GLoginData data)
          Authenticates a user and stores the authentication token to GLoginData.setAuthenticationToken(String) (only if needed by authorize(GLoginData)).
 void authorize(GLoginData data)
          Authorizes access to an application and stores an authorization cookie to GLoginData.setAuthorizationCookie(String).
 

Method Detail

authenticate

void authenticate(GLoginData data)
                  throws Exception
Authenticates a user and stores the authentication token to GLoginData.setAuthenticationToken(String) (only if needed by authorize(GLoginData)).

Parameters:
data - authentication input data and response data (authentication token) container.
Throws:
Exception

authorize

void authorize(GLoginData data)
               throws Exception
Authorizes access to an application and stores an authorization cookie to GLoginData.setAuthorizationCookie(String).

Parameters:
data - authentication input data and response data (authorization cookie) container.
Throws:
Exception


Apache CAMEL