edu.wisc.trace.uch.action
Class OpenUserContextAction
java.lang.Object
edu.wisc.trace.uch.action.OpenUserContextAction
public class OpenUserContextAction
- extends Object
Provide method to open user context.
- Version:
- $Revision: 1.1 $
- Author:
- Parikshit Thakur & Team, Trace R&D Center
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenUserContextAction
public OpenUserContextAction()
execute
public void execute(HttpServletRequest request,
HttpServletResponse response,
UCH uch)
throws ServletException,
IOException
- Open User Context.
If request doesn't contain Basic Authentication Header then ask for basic authentication.
Else if user authentication failed then response with response status 401 Authentication failed.
If authentication succeeded then open a new session.
If forwardto request attribute is specified then redirect to that URL.
- Parameters:
request - an Object of HttpServletRequestresponse - an Object of HttpServletResponseuch - an Object of UCH
- Throws:
ServletException - an Object of ServletException
IOException - an Object of IOException
Copyright © 2006-2008 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.