public abstract class ClientServlet
extends edu.uiuc.ncsa.security.servlet.AbstractServlet
ClientEnvironment and making the OA4MPService
instance. It also includes a utility call for getting a cookie with
the identifier (stored with the key "oa4mp_client_req_id" in
the users browser). SimpleStartRequest
and SimpleReadyServlet to see how to extend and use it.
Created by Jeff Gaynor
on 2/10/12 at 12:51 PM
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_KEY |
static String |
ACTION_REDIRECT_VALUE |
static edu.uiuc.ncsa.security.core.cache.Cleanup<edu.uiuc.ncsa.security.core.Identifier,Asset> |
assetCleanup |
static String |
OA4MP_CLIENT_REQUEST_ID
If a client specifically requests a response with debugging information then this will
be returned ONLY in cases of an error on the server.
|
static String |
REDIR |
| Constructor and Description |
|---|
ClientServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
clearCookie(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Clear the CILogon client cookie.
|
void |
destroy() |
protected HashMap<String,Asset> |
getAssetCache() |
ClientEnvironment |
getCE()
Convenience for client servlets.
|
OA4MPService |
getOA4MPService() |
void |
loadEnvironment() |
protected void |
shutdownCleanup(edu.uiuc.ncsa.security.core.cache.Cleanup c) |
CONST, debug, doGet, doIt, doPing, doPost, error, getConfigurationLoader, getEnvironment, getExceptionHandler, getFirstParameterValue, getInitialization, getMyLogger, handleException, info, init, isDebugOn, printAllParameters, resetState, setConfigurationLoader, setDebugOn, setEnvironment, setExceptionHandler, setInitialization, warndoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String ACTION_KEY
public static final String ACTION_REDIRECT_VALUE
public static final String REDIR
public static final String OA4MP_CLIENT_REQUEST_ID
public static edu.uiuc.ncsa.security.core.cache.Cleanup<edu.uiuc.ncsa.security.core.Identifier,Asset> assetCleanup
public ClientEnvironment getCE()
public void loadEnvironment()
throws IOException
loadEnvironment in class edu.uiuc.ncsa.security.servlet.AbstractServletIOExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected void shutdownCleanup(edu.uiuc.ncsa.security.core.cache.Cleanup c)
public OA4MPService getOA4MPService() throws IOException
IOExceptionprotected String clearCookie(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request - response - Copyright © 2019. All Rights Reserved.