org.riotfamily.riot.security.ui
Class ChangePasswordController

java.lang.Object
  extended by org.riotfamily.forms.controller.AbstractFormController
      extended by org.riotfamily.forms.controller.AjaxFormController
          extended by org.riotfamily.riot.security.ui.ChangePasswordController
All Implemented Interfaces:
RiotRuntimeAware, MessageSourceAware, Controller

public class ChangePasswordController
extends AjaxFormController
implements RiotRuntimeAware


Nested Class Summary
static class ChangePasswordController.NewPassword
           
 
Field Summary
 
Fields inherited from class org.riotfamily.forms.controller.AbstractFormController
BUTTON_CONTAINER_ID, FORM_SUBMISSION_HANDLER, log
 
Constructor Summary
ChangePasswordController(RiotUserDao dao, PlatformTransactionManager transactionManager)
           
 
Method Summary
protected  Form createForm(HttpServletRequest request)
          Subclasses must implement this method and return a fresh Form instance.
 ModelAndView handleFormSubmission(Form form, HttpServletRequest request, HttpServletResponse response)
           
 void setRiotRuntime(RiotRuntime runtime)
           
protected  ModelAndView showForm(Form form, HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class org.riotfamily.forms.controller.AjaxFormController
handleFormRequest, initForm, isEventRequest, isInitialRequest, processAjaxRequest, processEventRequest, renderForm, setMessageSource
 
Methods inherited from class org.riotfamily.forms.controller.AbstractFormController
createAndInitForm, createModelAndView, getForm, getFormBackingObject, getSessionAttribute, getWriter, handleContentRequest, handleRequest, initController, isContentRequest, isExclusiveRequest, populateForm, processForm, removeFormFromSession, setFormContextFactory, setProcessNewForms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangePasswordController

public ChangePasswordController(RiotUserDao dao,
                                PlatformTransactionManager transactionManager)
Method Detail

setRiotRuntime

public void setRiotRuntime(RiotRuntime runtime)
Specified by:
setRiotRuntime in interface RiotRuntimeAware

createForm

protected Form createForm(HttpServletRequest request)
Description copied from class: AbstractFormController
Subclasses must implement this method and return a fresh Form instance.

Specified by:
createForm in class AbstractFormController

handleFormSubmission

public ModelAndView handleFormSubmission(Form form,
                                         HttpServletRequest request,
                                         HttpServletResponse response)
                                  throws Exception
Specified by:
handleFormSubmission in class AbstractFormController
Throws:
Exception

showForm

protected ModelAndView showForm(Form form,
                                HttpServletRequest request,
                                HttpServletResponse response)
                         throws Exception
Overrides:
showForm in class AbstractFormController
Throws:
Exception