@WebServlet(value="/fachref/settings/passwordChange") public class UserPasswordChangeServlet extends FachRefServlet
Constructor and Description |
---|
UserPasswordChangeServlet() |
Modifier and Type | Method and Description |
---|---|
void |
registrate(User user,
java.lang.String plainTextPassword)
registrates the user in the database
|
void |
updatePassword(java.lang.String email,
java.lang.String newPassword) |
getParameter, prepareOutput, prepareOutput, prepareOutput, sendOutput
doGet, doPost, encodeURL, getLayoutService, getProperty, getServletBaseURL, getSession, init
public void registrate(User user, java.lang.String plainTextPassword)
user
- the userplainTextPassword
- the passwordpublic void updatePassword(java.lang.String email, java.lang.String newPassword)