|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRUserServlet
public class MCRUserServlet
This servlet provides a web interface for the user management of the mycore system.
| Field Summary |
|---|
| Fields inherited from class org.mycore.frontend.servlets.MCRServlet |
|---|
BASE_URL_ATTRIBUTE, trustedProxies |
| Constructor Summary | |
|---|---|
MCRUserServlet()
|
|
| Method Summary | |
|---|---|
protected void |
changePwd(MCRServletJob job)
This method handles the "ChangePwd" (change password) mode. |
protected Document |
createJdomDocBase(MCRServletJob job)
creates a jdom document with elements needed by all modes this servlet can run. |
protected void |
createPwdDialog(MCRServletJob job)
This method handles the "CreatePwdDialog" mode. |
void |
doGetPost(MCRServletJob job)
This method overrides doGetPost of MCRServlet and handles HTTP requests. |
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()
|
protected void |
selectTask(MCRServletJob job)
This method handles the "Select" mode. |
protected void |
showUser(MCRServletJob job)
This method handles the "ShowUser" mode. |
| 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 javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, service, 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 |
| Constructor Detail |
|---|
public MCRUserServlet()
| Method Detail |
|---|
public void init()
throws ServletException
init in class MCRServletServletException
public void doGetPost(MCRServletJob job)
throws IOException
doGetPost in class MCRServletjob - The MCRServletJob instance
IOException - for java I/O errors.
ServletException - for errors from the servlet engine.
protected void changePwd(MCRServletJob job)
throws IOException
job - The MCRServletJob instance
IOException - for java I/O errors.
ServletException - for errors from the servlet engine.
protected void createPwdDialog(MCRServletJob job)
throws IOException
job - The MCRServletJob instance
IOException - for java I/O errors.
ServletException - for errors from the servlet engine.
protected void selectTask(MCRServletJob job)
throws IOException
job - The MCRServletJob instance
IOException - for java I/O errors.
ServletException - for errors from the servlet engine.
protected void showUser(MCRServletJob job)
throws IOException
job - The MCRServletJob instance
IOException - for java I/O errors.
ServletException - for errors from the servlet engine.protected Document createJdomDocBase(MCRServletJob job)
job - The MCRServletJob instance
protected void doLayout(MCRServletJob job,
String style,
Document jdomDoc)
throws IOException
job - The MCRServletJob instancestyle - String value to select the correct XSL stylesheetjdomDoc - The XML representation to be presented by the LayoutServlet
ServletException - for errors from the servlet engine.
IOException - for java I/O errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||