Class StorefrontLogoutSuccessHandler
- java.lang.Object
-
- org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
-
- org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
-
- de.hybris.platform.acceleratorstorefrontcommons.security.StorefrontLogoutSuccessHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutSuccessHandler
public class StorefrontLogoutSuccessHandler extends org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLOSE_ACCOUNT_PARAM
-
Constructor Summary
Constructors Constructor Description StorefrontLogoutSuccessHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringdetermineTargetUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected GUIDCookieStrategygetGuidCookieStrategy()protected java.util.List<java.lang.String>getRestrictedPages()protected SessionServicegetSessionService()voidonLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)voidsetGuidCookieStrategy(GUIDCookieStrategy guidCookieStrategy)voidsetRestrictedPages(java.util.List<java.lang.String> restrictedPages)voidsetSessionService(SessionService sessionService)-
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
-
-
-
-
Field Detail
-
CLOSE_ACCOUNT_PARAM
public static final java.lang.String CLOSE_ACCOUNT_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGuidCookieStrategy
protected GUIDCookieStrategy getGuidCookieStrategy()
-
setGuidCookieStrategy
public void setGuidCookieStrategy(GUIDCookieStrategy guidCookieStrategy)
-
getRestrictedPages
protected java.util.List<java.lang.String> getRestrictedPages()
-
setRestrictedPages
public void setRestrictedPages(java.util.List<java.lang.String> restrictedPages)
-
onLogoutSuccess
public void onLogoutSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws java.io.IOException, javax.servlet.ServletException- Specified by:
onLogoutSuccessin interfaceorg.springframework.security.web.authentication.logout.LogoutSuccessHandler- Overrides:
onLogoutSuccessin classorg.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
determineTargetUrl
protected java.lang.String determineTargetUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)- Overrides:
determineTargetUrlin classorg.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-