Class TravelStorefrontAuthenticationSuccessHandler
java.lang.Object
org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
de.hybris.platform.acceleratorstorefrontcommons.security.StorefrontAuthenticationSuccessHandler
de.hybris.platform.travelacceleratorstorefront.security.TravelStorefrontAuthenticationSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
- Direct Known Subclasses:
ShoppingStoreFrontAuthenticationSuccessHandler
public class TravelStorefrontAuthenticationSuccessHandler
extends StorefrontAuthenticationSuccessHandler
Extends StorefrontAuthenticationSuccessHandler to redefine target urls for checkout journey
-
Field Summary
Fields inherited from class de.hybris.platform.acceleratorstorefrontcommons.security.StorefrontAuthenticationSuccessHandler
customerConsentDataStrategyFields inherited from class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdetermineTargetUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) protected de.hybris.platform.cms2.servicelayer.services.CMSSiteServiceprotected de.hybris.platform.servicelayer.config.ConfigurationServicede.hybris.platform.servicelayer.session.SessionServiceprotected TravelCartFacadevoidsetCmsSiteService(de.hybris.platform.cms2.servicelayer.services.CMSSiteService cmsSiteService) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService) voidsetTravelCartFacade(TravelCartFacade travelCartFacade) Methods inherited from class de.hybris.platform.acceleratorstorefrontcommons.security.StorefrontAuthenticationSuccessHandler
getAdminAuthority, getBruteForceAttackCounter, getCartFacade, getCartRestorationStrategy, getCustomerConsentDataStrategy, getCustomerFacade, getForceDefaultTargetForUiExperienceLevel, getListRedirectUrlsForceDefaultTarget, getRestrictedPages, getUiExperienceService, invalidateSession, isAdminAuthority, isAlwaysUseDefaultTargetUrl, onAuthenticationSuccess, setAdminGroup, setBruteForceAttackCounter, setCartFacade, setCartRestorationStrategy, setCustomerConsentDataStrategy, setCustomerFacade, setForceDefaultTargetForUiExperienceLevel, setListRedirectUrlsForceDefaultTarget, setRestrictedPages, setUiExperienceServiceMethods inherited from class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
setRequestCacheMethods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
clearAuthenticationAttributesMethods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseRefererMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
Constructor Details
-
TravelStorefrontAuthenticationSuccessHandler
public TravelStorefrontAuthenticationSuccessHandler()
-
-
Method Details
-
determineTargetUrl
protected String determineTargetUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) - Overrides:
determineTargetUrlin classStorefrontAuthenticationSuccessHandler
-
getTravelCartFacade
- Returns:
- the travelCartFacade
-
setTravelCartFacade
- Parameters:
travelCartFacade- the travelCartFacade to set
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) - Parameters:
configurationService- the configurationService to set
-
getCmsSiteService
protected de.hybris.platform.cms2.servicelayer.services.CMSSiteService getCmsSiteService() -
setCmsSiteService
public void setCmsSiteService(de.hybris.platform.cms2.servicelayer.services.CMSSiteService cmsSiteService) -
getSessionService
public de.hybris.platform.servicelayer.session.SessionService getSessionService() -
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
-