org.broadleafcommerce.core.web.controller.account
Class BroadleafChangePasswordController

java.lang.Object
  extended by org.broadleafcommerce.common.web.controller.BroadleafAbstractController
      extended by org.broadleafcommerce.core.web.controller.account.BroadleafChangePasswordController

public class BroadleafChangePasswordController
extends BroadleafAbstractController

This controller handles password changes for a customer's account


Field Summary
protected static String changePasswordRedirect
           
protected  ChangePasswordValidator changePasswordValidator
           
protected static String changePasswordView
           
protected  CustomerService customerService
           
protected  String passwordChangedMessage
           
 
Constructor Summary
BroadleafChangePasswordController()
           
 
Method Summary
 String getChangePasswordRedirect()
           
 String getChangePasswordView()
           
 String getPasswordChangedMessage()
           
 String processChangePassword(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, ChangePasswordForm form, org.springframework.validation.BindingResult result, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
           
 String viewChangePassword(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
           
 
Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
getContextPath, isAjaxRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customerService

protected CustomerService customerService

changePasswordValidator

protected ChangePasswordValidator changePasswordValidator

passwordChangedMessage

protected String passwordChangedMessage

changePasswordView

protected static String changePasswordView

changePasswordRedirect

protected static String changePasswordRedirect
Constructor Detail

BroadleafChangePasswordController

public BroadleafChangePasswordController()
Method Detail

viewChangePassword

public String viewChangePassword(javax.servlet.http.HttpServletRequest request,
                                 org.springframework.ui.Model model)

processChangePassword

public String processChangePassword(javax.servlet.http.HttpServletRequest request,
                                    org.springframework.ui.Model model,
                                    ChangePasswordForm form,
                                    org.springframework.validation.BindingResult result,
                                    org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
                             throws ServiceException
Throws:
ServiceException

getChangePasswordView

public String getChangePasswordView()

getChangePasswordRedirect

public String getChangePasswordRedirect()

getPasswordChangedMessage

public String getPasswordChangedMessage()


Copyright © 2013. All Rights Reserved.