Class CheckoutLoginController


@RequestMapping("/login/checkout") public class CheckoutLoginController extends AbstractLoginPageController
Checkout Login Controller. Handles login and register for the checkout flow.
  • Constructor Details

    • CheckoutLoginController

      public CheckoutLoginController()
  • Method Details

    • getCmsPage

      protected AbstractPageModel getCmsPage() throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      Specified by:
      getCmsPage in class AbstractRegisterPageController
      Throws:
      de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
    • doCheckoutLogin

      @RequestMapping(method=GET) public String doCheckoutLogin(@RequestParam(value="error",defaultValue="false") boolean loginError, javax.servlet.http.HttpSession session, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      Throws:
      de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
    • getView

      protected String getView()
      Specified by:
      getView in class AbstractRegisterPageController
    • getSuccessRedirect

      protected String getSuccessRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Specified by:
      getSuccessRedirect in class AbstractRegisterPageController
    • hasItemsInCart

      protected boolean hasItemsInCart()
      Checks if there are any items in the cart.
      Returns:
      returns true if items found in cart.
    • getCheckoutUrl

      protected String getCheckoutUrl()
    • getCheckoutFlowFacade

      protected de.hybris.platform.acceleratorfacades.flow.CheckoutFlowFacade getCheckoutFlowFacade()
    • getGuidCookieStrategy

      protected GUIDCookieStrategy getGuidCookieStrategy()
      Overrides:
      getGuidCookieStrategy in class AbstractRegisterPageController
      Returns:
      GUIDCookieStrategy
    • getAuthenticationManager

      protected org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()