public class EditProfileServlet extends DSpaceServlet
| Constructor and Description |
|---|
EditProfileServlet() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
confirmAndSetPassword(EPerson eperson,
javax.servlet.http.HttpServletRequest request)
Set an eperson's password, if the passwords they typed match and are
acceptible.
|
protected void |
doDSGet(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP GET.
|
protected void |
doDSPost(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process an incoming HTTP POST.
|
static boolean |
updateUserProfile(EPerson eperson,
javax.servlet.http.HttpServletRequest request)
Update a user's profile information with the information in the given
request.
|
doGet, doPostdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected void doDSGet(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
DSpaceServletdoDSGet in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responsejava.sql.SQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionjava.io.IOExceptionprotected void doDSPost(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
DSpaceServletdoDSPost in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responsejava.sql.SQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionjava.io.IOExceptionpublic static boolean updateUserProfile(EPerson eperson, javax.servlet.http.HttpServletRequest request)
eperson - the e-personrequest - the request to get values frompublic static boolean confirmAndSetPassword(EPerson eperson, javax.servlet.http.HttpServletRequest request)
eperson - the eperson to set the new password forrequest - the request containing the new passwordCopyright © 2018 DuraSpace. All Rights Reserved.