Class OCCConsentLayerFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
com.hybris.yprofile.consent.filters.OCCConsentLayerFilter
All Implemented Interfaces:
javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

public class OCCConsentLayerFilter extends org.springframework.web.filter.OncePerRequestFilter
  • Constructor Details

    • OCCConsentLayerFilter

      public OCCConsentLayerFilter()
  • Method Details

    • doFilterInternal

      protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, IOException
      Specified by:
      doFilterInternal in class org.springframework.web.filter.OncePerRequestFilter
      Throws:
      javax.servlet.ServletException
      IOException
    • populateDebugFlagInSession

      protected void populateDebugFlagInSession(javax.servlet.http.HttpServletRequest httpServletRequest)
    • isProfileTrackingConsentGiven

      protected boolean isProfileTrackingConsentGiven(javax.servlet.http.HttpServletRequest httpServletRequest)
    • isActiveAccount

      protected boolean isActiveAccount()
    • getConsentService

      public ConsentService getConsentService()
    • setConsentService

      public void setConsentService(ConsentService consentService)
    • getUserService

      public UserService getUserService()
    • setUserService

      public void setUserService(UserService userService)
    • getConfigurationService

      public ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)
    • getProfileConfigurationService

      public ProfileConfigurationService getProfileConfigurationService()
    • setProfileConfigurationService

      public void setProfileConfigurationService(ProfileConfigurationService profileConfigurationService)