Class DefaultCommerceRedirectStrategy
java.lang.Object
org.springframework.security.web.DefaultRedirectStrategy
de.hybris.platform.yacceleratorstorefront.security.impl.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-
Field Summary
Fields inherited from class org.springframework.security.web.DefaultRedirectStrategy
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CheckoutFlowFacadeprotected StringvoidsendRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url) voidsetCheckoutFlowFacade(CheckoutFlowFacade checkoutFlowFacade) voidsetExpressTargetUrl(String expressTargetUrl) Methods inherited from class org.springframework.security.web.DefaultRedirectStrategy
calculateRedirectUrl, isContextRelative, setContextRelative
-
Constructor Details
-
DefaultCommerceRedirectStrategy
public DefaultCommerceRedirectStrategy()
-
-
Method Details
-
sendRedirect
public void sendRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String url) throws IOException - Specified by:
sendRedirectin interfaceorg.springframework.security.web.RedirectStrategy- Overrides:
sendRedirectin classorg.springframework.security.web.DefaultRedirectStrategy- Throws:
IOException
-
getExpressTargetUrl
-
setExpressTargetUrl
-
getCheckoutFlowFacade
-
setCheckoutFlowFacade
-