org.mycore.frontend.servlets
Class MCRLoginServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRLoginServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class MCRLoginServlet
- extends MCRServlet
This servlet is used to login a user to the mycore system.
- Version:
- $Revision: 1.1 $ $Date: 2008/04/11 09:09:38 $
- Author:
- Detlev Degenhardt
- See Also:
- Serialized Form
|
Method Summary |
void |
doGetPost(MCRServletJob job)
This method overrides doGetPost of MCRServlet. |
protected void |
doLayout(MCRServletJob job,
String style,
Document jdomDoc)
Gather information about the XML document to be shown and the
corresponding XSLT stylesheet and redirect the request to the
LayoutServlet |
void |
init()
|
| Methods inherited from class org.mycore.frontend.servlets.MCRServlet |
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, initTrustedProxies, render, reportException, think |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRLoginServlet
public MCRLoginServlet()
init
public void init()
throws ServletException
- Overrides:
init in class MCRServlet
- Throws:
ServletException
doGetPost
public void doGetPost(MCRServletJob job)
throws Exception
- This method overrides doGetPost of MCRServlet.
- Overrides:
doGetPost in class MCRServlet
- Throws:
Exception
doLayout
protected void doLayout(MCRServletJob job,
String style,
Document jdomDoc)
throws IOException
- Gather information about the XML document to be shown and the
corresponding XSLT stylesheet and redirect the request to the
LayoutServlet
- Parameters:
job - The MCRServletJob instancestyle - String value to select the correct XSL stylesheetjdomDoc - The XML representation to be presented by the LayoutServlet
- Throws:
ServletException - for errors from the servlet engine.
IOException - for java I/O errors.