Class OA2ReadyServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.uiuc.ncsa.security.servlet.AbstractServlet
-
- org.oa4mp.client.api.servlet.ClientServlet
-
- org.oa4mp.client.loader.servlet.OA2ReadyServlet
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class OA2ReadyServlet extends ClientServlet
A very, very simple (as in stupid) ready servlet. This is the target of the callback uri supplied in the initial request.
This example is intended to show control flow rather than be a polished application. Feel free to boilerplate from it as needed. Do not deploy this in production environments.Created by Jeff Gaynor
on 2/10/12 at 1:43 PM
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.myproxy.oa4mp.client.servlet.ClientServlet
ACTION_KEY, ACTION_REDIRECT_VALUE, assetCleanup, OA4MP_CLIENT_REQUEST_ID, REDIR
-
-
Constructor Summary
Constructors Constructor Description OA2ReadyServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doIt(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void
setATInfo(javax.servlet.http.HttpServletRequest request, AccessToken accessToken)
protected void
setIDTInfo(javax.servlet.http.HttpServletRequest request, String rawJWT, edu.uiuc.ncsa.security.util.jwk.JSONWebKeys jsonWebKeys)
Set the attributes for the id token.-
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.client.servlet.ClientServlet
clearCookie, destroy, getAssetCache, getCE, getOA4MPService, loadEnvironment, shutdownCleanup
-
Methods inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
checkContentType, CONST, debug, doGet, doPing, doPost, error, error, getConfigurationLoader, getEnvironment, getExceptionHandler, getFirstParameterValue, getInitialization, getMyLogger, handleException, info, init, isDebugOn, printAllParameters, printAllParameters, resetState, setConfigurationLoader, setDebugOn, setEnvironment, setExceptionHandler, setInitialization, warn
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doIt
protected void doIt(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Throwable
- Specified by:
doIt
in classedu.uiuc.ncsa.security.servlet.AbstractServlet
- Throws:
Throwable
-
setIDTInfo
protected void setIDTInfo(javax.servlet.http.HttpServletRequest request, String rawJWT, edu.uiuc.ncsa.security.util.jwk.JSONWebKeys jsonWebKeys)
Set the attributes for the id token.- Parameters:
request
-rawJWT
-jsonWebKeys
-
-
setATInfo
protected void setATInfo(javax.servlet.http.HttpServletRequest request, AccessToken accessToken)
-
-