Package org.mycore.user2
Class MCRUserServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.user2.MCRUserServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
Provides functionality to search for users, list users,
retrieve, delete or update user data.
- Author:
- Frank Lützenkirchen, Thomas Scheffler (yagee)
- See Also:
-
Field Summary
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
ATTR_MYCORE_SESSION, CURRENT_THREAD_NAME_KEY, INITIAL_SERVLET_NAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkUserName
(String userName) Invoked by editor form user-editor.xed to check for a valid login user name.void
doGetPost
(MCRServletJob job) Handles requests.Methods inherited from class org.mycore.frontend.servlets.MCRServlet
allowCrossDomainRequests, buildRedirectURL, cleanupMCRSession, doGet, doGet, doPost, doPost, getErrorI18N, getLastModified, getLayoutService, getProperty, getReferer, getServletBaseURL, getSession, handleException, init, initializeMCRSession, render, reportException, think, toReferrer, toReferrer
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
MCRUserServlet
public MCRUserServlet()
-
-
Method Details
-
doGetPost
Handles requests. The parameter 'action' selects what to do, possible values are show, save, delete, password (with id as second parameter). The default is to search and list users.- Overrides:
doGetPost
in classMCRServlet
- Throws:
Exception
-
checkUserName
Invoked by editor form user-editor.xed to check for a valid login user name.
-