public abstract class LoginServlet extends ExplorerInjectedServlet
| Modifier and Type | Field and Description |
|---|---|
protected String |
clientId |
protected String |
clientSecret |
protected org.apache.shindig.auth.SecurityTokenCodec |
codec |
protected static String |
CONTAINER |
protected String |
contextRoot |
protected org.apache.shindig.gadgets.http.HttpFetcher |
fetcher |
protected String |
redirectUri |
HTML_CONTENT_TYPE, JSON_CONTENT_TYPE| Constructor and Description |
|---|
LoginServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closePopup(javax.servlet.http.HttpServletResponse resp) |
void |
injectDependencies(org.apache.shindig.gadgets.http.HttpFetcher fetcher,
org.apache.shindig.auth.SecurityTokenCodec codec,
String contextRoot) |
protected void |
returnSecurityToken(String id,
javax.servlet.http.HttpServletResponse resp) |
getPaths, getRequestBody, parseResponseToJson, parseResponseToString, splitQuerycheckInitialized, initdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected static final String CONTAINER
protected org.apache.shindig.gadgets.http.HttpFetcher fetcher
protected org.apache.shindig.auth.SecurityTokenCodec codec
protected String clientId
protected String clientSecret
protected String redirectUri
protected String contextRoot
@Inject
public void injectDependencies(org.apache.shindig.gadgets.http.HttpFetcher fetcher,
org.apache.shindig.auth.SecurityTokenCodec codec,
String contextRoot)
protected void closePopup(javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionprotected void returnSecurityToken(String id, javax.servlet.http.HttpServletResponse resp) throws IOException, org.apache.wink.json4j.JSONException, org.apache.shindig.auth.SecurityTokenException
IOExceptionorg.apache.wink.json4j.JSONExceptionorg.apache.shindig.auth.SecurityTokenExceptionCopyright © 2013 OpenSocial Foundation. All Rights Reserved.