org.mycore.frontend.servlets
Class MCRUserAdminServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.mycore.frontend.servlets.MCRServlet
              extended by org.mycore.frontend.servlets.MCRUserAdminGUICommons
                  extended by org.mycore.frontend.servlets.MCRUserAdminServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class MCRUserAdminServlet
extends MCRUserAdminGUICommons

This servlet controls the web interface for the editors of the user management of the mycore system.

Version:
$Revision: 14994 $ $Date: 2009-03-24 13:01:57 +0100 (Tue, 24 Mar 2009) $
Author:
Detlev Degenhardt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mycore.frontend.servlets.MCRUserAdminGUICommons
cancelPage, noPrivsPage, okPage, pageDir
 
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
BASE_URL_ATTRIBUTE, trustedProxies
 
Constructor Summary
MCRUserAdminServlet()
           
 
Method Summary
 void doGetPost(MCRServletJob job)
          This method overrides doGetPost of MCRServlet and handles HTTP requests.
 void init()
          Initialisation of the servlet
 
Methods inherited from class org.mycore.frontend.servlets.MCRUserAdminGUICommons
doLayout, showNoPrivsPage, showOkPage
 
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

MCRUserAdminServlet

public MCRUserAdminServlet()
Method Detail

init

public void init()
          throws ServletException
Initialisation of the servlet

Overrides:
init in class MCRUserAdminGUICommons
Throws:
ServletException

doGetPost

public void doGetPost(MCRServletJob job)
               throws IOException
This method overrides doGetPost of MCRServlet and handles HTTP requests. Depending on the mode parameter in the request, the method dispatches actions to be done by subsequent private methods. Examples for typical actions are creating an new user account (mode=newuser), modifying an existing user account (mode=modifyuser) etc.

Overrides:
doGetPost in class MCRServlet
Parameters:
job - The MCRServletJob instance
Throws:
IOException - for java I/O errors.