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, IOException, SQLException, AuthorizeException
DSpaceServletdoDSGet in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responseSQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionIOExceptionprotected void doDSPost(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException, SQLException, AuthorizeException
DSpaceServletdoDSPost in class DSpaceServletcontext - a DSpace Context objectrequest - the HTTP requestresponse - the HTTP responseSQLException - if a database error occursAuthorizeException - if some authorization error occursjavax.servlet.ServletExceptionIOExceptionpublic 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 © 2016 DuraSpace. All Rights Reserved.