Class SignupController

java.lang.Object
ubic.gemma.web.controller.common.auditAndSecurity.SignupController
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Controller public class SignupController extends Object implements org.springframework.beans.factory.InitializingBean
Controller to signup new users. See also the UserListController.
Author:
pavlidis, keshav
  • Field Details

    • messageSource

      @Autowired protected org.springframework.context.MessageSource messageSource
    • messageUtil

      @Autowired protected MessageUtil messageUtil
  • Constructor Details

    • SignupController

      public SignupController()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • ajaxLoginCheck

      @RequestMapping(value="/ajaxLoginCheck.html", method={GET,HEAD}) public void ajaxLoginCheck(javax.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException
    • confirmRegistration

      @RequestMapping(value="/confirmRegistration.html", method={GET,HEAD}) public void confirmRegistration(@RequestParam("username") String username, @RequestParam("key") String key, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
      Throws:
      Exception
    • loginCheck

      public gemma.gsec.authentication.LoginDetailsValueObject loginCheck()
      AJAX DWR
      Returns:
      loginDetails
    • signup

      @RequestMapping(value="/signup.html", method=POST) public void signup(@RequestParam("password") String password, @RequestParam("passwordConfirm") String cPass, @RequestParam("username") String username, @RequestParam("email") String email, @RequestParam("emailConfirm") String cEmail, @RequestParam(value="ajaxRegisterTrue",defaultValue="false") boolean ajaxRegisterTrue, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Locale locale) throws Exception
      Throws:
      Exception
    • signupForm

      @RequestMapping(value="/signup.html", method={GET,HEAD}) public String signupForm()