Class DefaultLogoutSuccessHandler
java.lang.Object
de.hybris.platform.sap.ysapordermgmtb2baddon.security.DefaultLogoutSuccessHandler
Releases cart on logout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CartServicevoidonLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) voidsetCartService(CartService cartService)
-
Constructor Details
-
DefaultLogoutSuccessHandler
public DefaultLogoutSuccessHandler()
-
-
Method Details
-
onLogoutSuccess
public void onLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, javax.servlet.ServletException - Throws:
IOExceptionjavax.servlet.ServletException
-
getCartService
- Returns:
- the cartService
-
setCartService
- Parameters:
cartService- the cartService to set
-