HttpServletRequest request,
HttpServletResponse response) throws Exception {
doCheckAuthorization(request);
ChangeSeteUserPasswordForm csupf = (ChangeSeteUserPasswordForm) form;
SeteUserProfileService service = getService(SeteUserProfileService.class);
ChangeSeteUserPasswordVo csupvo = new ChangeSeteUserPasswordVo();
csupvo.setUserId(getAuthenticatedUser(request).getUserId().toString());
if(!csupf.getNewPassword().equals(csupf.getNewPasswordConfirm())) {
System.out.println("\n\nACTION: NOT EQUAL\n\n");
}
BeanUtils.copyProperties(csupvo, form);
service.changeSeteUserPassword(csupvo);
displaySuccessMessage(request);
return mapping.findForward("view");
}