| org.sakaiproject.vm.VmServlet org.sakaiproject.cheftool.VmServlet org.sakaiproject.access.tool.AccessServlet
All known Subclasses: org.sakaiproject.access.tool.WebServlet,
AccessServlet | public class AccessServlet extends VmServlet (Code) | |
Access is a servlet that provides a portal to entity access by URL for Sakai.
The servlet takes the requests and dispatches to the appropriate EntityProducer for the response.
Any error handling is done here.
If the user has not yet logged in and need to for permission, the login process is handled here, too.
author: Sakai Software Development Team |
Inner Class :public class AccessServletInit extends Thread | |
Inner Class :public class AccessServletInfo | |
COPYRIGHT_ACCEPT | final protected static String COPYRIGHT_ACCEPT(Code) | | Path used when the user has accepted the copyright agreement .
|
COPYRIGHT_ACCEPTED_REFS_ATTR | final protected static String COPYRIGHT_ACCEPTED_REFS_ATTR(Code) | | Session attribute holding copyright-accepted references (a collection of Strings).
|
COPYRIGHT_ACCEPT_REF | final protected static String COPYRIGHT_ACCEPT_REF(Code) | | Ref accepted, request parameter for COPYRIGHT_ACCEPT request.
|
COPYRIGHT_ACCEPT_URL | final protected static String COPYRIGHT_ACCEPT_URL(Code) | | Return URL, request parameter for COPYRIGHT_ACCEPT request.
|
COPYRIGHT_PATH | final protected static String COPYRIGHT_PATH(Code) | | copyright path -- MUST have same value as ResourcesAction.COPYRIGHT_PATH
|
COPYRIGHT_REQUIRE | final protected static String COPYRIGHT_REQUIRE(Code) | | Path used when forcing the user to accept the copyright agreement .
|
FORM_VALUE_DELIMETER | final protected static String FORM_VALUE_DELIMETER(Code) | | delimiter for form multiple values
|
STREAM_BUFFER_SIZE | final protected static int STREAM_BUFFER_SIZE(Code) | | The chunk size used when streaming (100k).
|
STREAM_CONTENT | final protected static boolean STREAM_CONTENT(Code) | | stream content requests if true, read all into memory and send if false.
|
m_ready | protected boolean m_ready(Code) | | set to true when init'ed.
|
doLogin | protected void doLogin(HttpServletRequest req, HttpServletResponse res, String path) throws ToolException, IOException(Code) | | Make a redirect to the login url.
Parameters: req - HttpServletRequest object with the client request. Parameters: res - HttpServletResponse object back to the client. Parameters: path - The current request path, set ONLY if we want this to be where to redirect the user after successfull login throws: IOException - |
preProcessPath | protected String preProcessPath(String path, HttpServletRequest req)(Code) | | Make any changes needed to the path before final "ref" processing.
Parameters: path - The path from the request. The path to use to make the Reference for further processing. |
respondCopyrightAlertDemo | protected void respondCopyrightAlertDemo(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code) | | Make the Sample Copyright Alert response.
Parameters: req - HttpServletRequest object with the client request. Parameters: res - HttpServletResponse object back to the client. |
startInit | public void startInit()(Code) | | Start the initialization process
|
|
|