org.broadleafcommerce.common.security
Interface MergeCartProcessor


public interface MergeCartProcessor

Responsible for merging an anonymous cart with the currently logged in user's cart

See Also:
BroadleafAuthenticationSuccessHandler}

Method Summary
 void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authResult)
          Convenience method.
 void execute(org.springframework.web.context.request.WebRequest request, org.springframework.security.core.Authentication authResult)
          Merge the cart owned by the anonymous current session Customer with the Customer that has just logged in
 

Method Detail

execute

void execute(javax.servlet.http.HttpServletRequest request,
             javax.servlet.http.HttpServletResponse response,
             org.springframework.security.core.Authentication authResult)
Convenience method. This will wrap the given request and response inside of a ServletWebRequest and forward to execute(WebRequest, Authentication)

Parameters:
request -
response -
authResult -

execute

void execute(org.springframework.web.context.request.WebRequest request,
             org.springframework.security.core.Authentication authResult)
Merge the cart owned by the anonymous current session Customer with the Customer that has just logged in

Parameters:
request -
authResult -


Copyright © 2013. All Rights Reserved.