BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.user.controller.ChangePasswordController Class Reference

Public Member Functions

 ChangePasswordController ()
 
String setupForm (@RequestParam(value="user_id", required=false) String userId, ModelMap model)
 
String processSubmit (HttpServletRequest request, ModelMap model, @ModelAttribute("user_account") User user, BindingResult result)
 
void setUserManager (UserManager userManager)
 
void setValidator (PasswordValidator validator)
 
void setMessages (MessageResourceUtil messages)
 

Detailed Description

Modify password for a given user account.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.2.2
Since
0.7.1

Constructor & Destructor Documentation

◆ ChangePasswordController()

eu.baltrad.dex.user.controller.ChangePasswordController.ChangePasswordController ( )
inline

Constructor.

Member Function Documentation

◆ processSubmit()

String eu.baltrad.dex.user.controller.ChangePasswordController.processSubmit ( HttpServletRequest request,
ModelMap model,
@ModelAttribute("user_account") User user,
BindingResult result )
inline

Update user password

Parameters
userUser account
requestHTTP servlet request
resultForm binding result
modelModel map
Returns
View name

◆ setMessages()

void eu.baltrad.dex.user.controller.ChangePasswordController.setMessages ( MessageResourceUtil messages)
inline
Parameters
messagesthe messages to set

◆ setupForm()

String eu.baltrad.dex.user.controller.ChangePasswordController.setupForm ( @RequestParam(value="user_id", required=false) String userId,
ModelMap model )
inline

Load form backing object.

Parameters
userIdUser id
modelModel map
Returns
Form view name

◆ setUserManager()

void eu.baltrad.dex.user.controller.ChangePasswordController.setUserManager ( UserManager userManager)
inline
Parameters
userManager

◆ setValidator()

void eu.baltrad.dex.user.controller.ChangePasswordController.setValidator ( PasswordValidator validator)
inline
Parameters
validatorthe validator to set

The documentation for this class was generated from the following file: