Class DefaultManageMyBookingSessionCleanUpStrategy
java.lang.Object
de.hybris.platform.travelacceleratorstorefront.security.impl.DefaultManageMyBookingSessionCleanUpStrategy
- All Implemented Interfaces:
ManageMyBookingSessionCleanUpStrategy
public class DefaultManageMyBookingSessionCleanUpStrategy
extends Object
implements ManageMyBookingSessionCleanUpStrategy
Implementation class of ManageMyBookingSessionCleanUpStrategy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckManageMyBookingURLPattern(String urlPath) protected Stringprotected Patternprotected de.hybris.platform.servicelayer.session.SessionServiceprotected booleanisExcludedUrlPattern(String urlPath) protected booleanisGetMethod(javax.servlet.http.HttpServletRequest httpRequest) voidmanageMyBookingCleanUp(javax.servlet.http.HttpServletRequest request) Removes manageMyBooking sessionAttributes if the URL of the page being accessed does not matches with ManageMyBooking URL Pattern.voidsetExcludedUrls(String excludedUrls) voidsetManageMyBookingUrlPattern(Pattern manageMyBookingUrlPattern) voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
-
Constructor Details
-
DefaultManageMyBookingSessionCleanUpStrategy
public DefaultManageMyBookingSessionCleanUpStrategy()
-
-
Method Details
-
manageMyBookingCleanUp
public void manageMyBookingCleanUp(javax.servlet.http.HttpServletRequest request) Description copied from interface:ManageMyBookingSessionCleanUpStrategyRemoves manageMyBooking sessionAttributes if the URL of the page being accessed does not matches with ManageMyBooking URL Pattern.- Specified by:
manageMyBookingCleanUpin interfaceManageMyBookingSessionCleanUpStrategy- Parameters:
request- HttpServletRequest object.
-
isExcludedUrlPattern
-
isGetMethod
protected boolean isGetMethod(javax.servlet.http.HttpServletRequest httpRequest) -
checkManageMyBookingURLPattern
-
getManageMyBookingUrlPattern
-
setManageMyBookingUrlPattern
-
getSessionService
protected de.hybris.platform.servicelayer.session.SessionService getSessionService() -
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService) -
getExcludedUrls
-
setExcludedUrls
-