org.sakaiproject.entitybroker.servlet
Class SakaiDirectServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.sakaiproject.entitybroker.util.servlet.DirectServlet
org.sakaiproject.entitybroker.servlet.SakaiDirectServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class SakaiDirectServlet
- extends DirectServlet
Direct servlet allows unfettered access to entity URLs within Sakai, it also handles
authentication (login) if required (without breaking an entity URL)
This primarily differs from the access servlet in that it allows posts to work
and removes most of the proprietary checks
- Author:
- Aaron Zeckoski (aaron@caret.cam.ac.uk), Antranig Basman (antranig@caret.cam.ac.uk), Sakai Software Development Team
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, 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 |
SakaiDirectServlet
public SakaiDirectServlet()
initialize
public void initialize()
- Overrides:
initialize in class DirectServlet
getCurrentLoggedInUserId
public String getCurrentLoggedInUserId()
- Specified by:
getCurrentLoggedInUserId in class DirectServlet
initializeEntityRequestHandler
public EntityRequestHandler initializeEntityRequestHandler()
- Specified by:
initializeEntityRequestHandler in class DirectServlet
handleUserLogin
public void handleUserLogin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String path)
- Specified by:
handleUserLogin in class DirectServlet
dispatch
public void dispatch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException
- Overrides:
dispatch in class DirectServlet
- Throws:
javax.servlet.ServletException
Copyright © 2007-2012 Sakai Project. All Rights Reserved.