Class AuthenticationController


  • @FrameworkController
    public class AuthenticationController
    extends Object
    Author:
    Nathan Moore (nathanmoore).
    • Method Detail

      • getLoginView

        @FrameworkGetMapping(path="/login")
        public String getLoginView​(org.springframework.ui.Model model,
                                   @RequestParam("client_id")
                                   String clientId)
      • getLoginErrorView

        @FrameworkGetMapping(path="/login",
                             params="error=true")
        public String getLoginErrorView​(org.springframework.ui.Model model,
                                        @RequestParam("client_id")
                                        String clientId)
      • getPwResetEmailView

        @FrameworkGetMapping("/request-password-reset")
        public String getPwResetEmailView​(org.springframework.ui.Model model,
                                          @RequestParam(value="returnTo",required=false)
                                          String redirectUrl,
                                          @RequestParam(defaultValue="false")
                                          boolean credentialsExpired,
                                          @RequestParam("client_id")
                                          String clientId)
      • processPwResetEmailRequest

        @FrameworkPostMapping("/request-password-reset")
        public String processPwResetEmailRequest​(org.springframework.ui.Model model,
                                                 @RequestParam(value="returnTo",required=false)
                                                 String redirectUrl,
                                                 @RequestParam("username")
                                                 String username,
                                                 @RequestParam("client_id")
                                                 String clientId)
      • getResetPasswordSuccessView

        @FrameworkGetMapping(path="/reset-password-confirmation")
        public String getResetPasswordSuccessView​(@RequestParam("client_id")
                                                  String clientId)
      • getResetPasswordView

        @FrameworkGetMapping("/reset-password")
        public org.springframework.web.servlet.ModelAndView getResetPasswordView​(org.springframework.ui.Model model,
                                                                                 @RequestParam(value="returnTo",required=false)
                                                                                 String redirectUrl,
                                                                                 @RequestParam("client_id")
                                                                                 String clientId)
      • processResetPasswordRequest

        @FrameworkPostMapping("/reset-password")
        public org.springframework.web.servlet.ModelAndView processResetPasswordRequest​(javax.servlet.http.HttpServletRequest request,
                                                                                        javax.servlet.http.HttpServletResponse response,
                                                                                        org.springframework.ui.Model model,
                                                                                        @ModelAttribute
                                                                                        ResetPasswordForm resetPasswordForm,
                                                                                        @RequestParam(value="returnTo",required=false)
                                                                                        String redirectUrl,
                                                                                        org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
                                                                                        org.springframework.validation.BindingResult errors)
      • determineLoggedInReturnUrl

        protected String determineLoggedInReturnUrl​(String clientId,
                                                    String redirectUrl)
      • getChangePasswordView

        @FrameworkGetMapping("/change-password")
        public org.springframework.web.servlet.ModelAndView getChangePasswordView​(org.springframework.ui.Model model,
                                                                                  @ModelAttribute
                                                                                  ChangePasswordForm changePasswordForm,
                                                                                  @RequestParam(value="returnTo",required=false)
                                                                                  String redirectUrl)
      • processChangePasswordRequest

        @FrameworkPostMapping("/change-password")
        public org.springframework.web.servlet.ModelAndView processChangePasswordRequest​(javax.servlet.http.HttpServletRequest request,
                                                                                         @ModelAttribute
                                                                                         ChangePasswordForm changePasswordForm,
                                                                                         @RequestParam(value="returnTo",required=false)
                                                                                         String redirectUrl,
                                                                                         org.springframework.validation.BindingResult errors,
                                                                                         org.springframework.ui.Model model,
                                                                                         javax.servlet.http.HttpServletResponse httpServletResponse)
      • getChangePasswordSuccessView

        @FrameworkGetMapping(path="/change-password-confirmation")
        public String getChangePasswordSuccessView()
      • getTypeFactory

        protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()