Class DefaultCommerceRedirectStrategy

  • All Implemented Interfaces:
    org.springframework.security.web.RedirectStrategy

    public class DefaultCommerceRedirectStrategy
    extends org.springframework.security.web.DefaultRedirectStrategy
    A redirect strategy used in StorefrontAuthenticationSuccessHandler to handle express checkout case
    • Constructor Detail

      • DefaultCommerceRedirectStrategy

        public DefaultCommerceRedirectStrategy()
    • Method Detail

      • sendRedirect

        public void sendRedirect​(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response,
                                 java.lang.String url)
                          throws java.io.IOException
        Specified by:
        sendRedirect in interface org.springframework.security.web.RedirectStrategy
        Overrides:
        sendRedirect in class org.springframework.security.web.DefaultRedirectStrategy
        Throws:
        java.io.IOException
      • getExpressTargetUrl

        protected java.lang.String getExpressTargetUrl()
      • setExpressTargetUrl

        public void setExpressTargetUrl​(java.lang.String expressTargetUrl)
      • setCheckoutFlowFacade

        public void setCheckoutFlowFacade​(CheckoutFlowFacade checkoutFlowFacade)