edu.uiuc.ncsa.myproxy.oa4mp.client.servlet.sample
Class SimpleReadyServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by edu.uiuc.ncsa.security.servlet.AbstractServlet
              extended by edu.uiuc.ncsa.myproxy.oa4mp.client.servlet.ClientServlet
                  extended by edu.uiuc.ncsa.myproxy.oa4mp.client.servlet.sample.SimpleReadyServlet
All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SimpleReadyServlet
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, DEBUG_KEY, OA4MP_CLIENT_REQUEST_ID, REDIR, TOKEN_KEY, VERIFIER_KEY
 
Fields inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
environment
 
Constructor Summary
SimpleReadyServlet()
           
 
Method Summary
protected  void doIt(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class edu.uiuc.ncsa.myproxy.oa4mp.client.servlet.ClientServlet
clearCookie, destroy, getCE, getOA4MPService, handleException, init, loadEnvironment, shutdownCleanup
 
Methods inherited from class edu.uiuc.ncsa.security.servlet.AbstractServlet
debug, doGet, doPost, error, getConfigurationLoader, getEnvironment, getMyLogger, info, isDebugOn, resetState, setConfigurationLoader, setDebugOn, setEnvironment, warn
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleReadyServlet

public SimpleReadyServlet()
Method Detail

doIt

protected void doIt(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws Throwable
Specified by:
doIt in class edu.uiuc.ncsa.security.servlet.AbstractServlet
Throws:
Throwable


Copyright © 2013. All Rights Reserved.