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

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.SimpleStartRequest
All Implemented Interfaces:
edu.uiuc.ncsa.security.core.Logable, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SimpleStartRequest
extends ClientServlet

A simple servlet that starts the request. It will make the initial request and set an identifier cookie in the users browser. If there is an AssetStore configured, it will make an entry for the Asset resulting from this delegation.

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 10:24 AM

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
SimpleStartRequest()
           
 
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

SimpleStartRequest

public SimpleStartRequest()
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.