| org.dspace.app.webui.servlet.DSpaceServlet org.dspace.app.webui.servlet.EditProfileServlet
EditProfileServlet | public class EditProfileServlet extends DSpaceServlet (Code) | | Servlet for handling editing user profiles
author: Robert Tansley version: $Revision: 1947 $ |
confirmAndSetPassword | public static boolean confirmAndSetPassword(EPerson eperson, HttpServletRequest request)(Code) | | Set an eperson's password, if the passwords they typed match and are
acceptible. If all goes well and the password is set, null is returned.
Otherwise the problem is returned as a String.
Parameters: eperson - the eperson to set the new password for Parameters: request - the request containing the new password true if everything went OK, or false |
updateUserProfile | public static boolean updateUserProfile(EPerson eperson, HttpServletRequest request)(Code) | | Update a user's profile information with the information in the given
request. This assumes that authentication has occurred. This method
doesn't write the changes to the database (i.e. doesn't call update.)
Parameters: eperson - the e-person Parameters: request - the request to get values from true if the user supplied all the required information, false ifthey left something out. |
Methods inherited from org.dspace.app.webui.servlet.DSpaceServlet | protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException(Code)(Java Doc) protected void doDSPost(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException(Code)(Java Doc) protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)(Java Doc)
|
|
|