public interface GLoginService
| Modifier and Type | Method and Description |
|---|---|
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). |
void authenticate(GLoginData data) throws Exception
GLoginData.setAuthenticationToken(String) (only if needed by
authorize(GLoginData)).data - authentication input data and response data (authentication token) container.Exceptionvoid authorize(GLoginData data) throws Exception
GLoginData.setAuthorizationCookie(String).data - authentication input data and response data (authorization cookie) container.ExceptionApache Camel