Class TmaEligibilityContextFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
de.hybris.platform.b2ctelcoocc.filters.TmaEligibilityContextFilter
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

@Deprecated(since="2302") public class TmaEligibilityContextFilter extends org.springframework.web.filter.OncePerRequestFilter
Deprecated.
since 2302. Eligibility contexts no longer updated on each API call.
Filter responsible for updating the TmaEligibilityContext for the current user.
Since:
1907
  • Field Summary

    Fields inherited from class org.springframework.web.filter.OncePerRequestFilter

    ALREADY_FILTERED_SUFFIX

    Fields inherited from class org.springframework.web.filter.GenericFilterBean

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    TmaEligibilityContextFilter(TmaEligibilityContextService eligibilityContextService, String regexp, String regexpProductApi, de.hybris.platform.servicelayer.config.ConfigurationService configurationService, TmaCustomerFacade tmaCustomerFacade)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.FilterChain filterChain)
    Deprecated.
     
    de.hybris.platform.servicelayer.config.ConfigurationService
    Deprecated.
     
    Deprecated.
     
    protected Matcher
    getMatcher(javax.servlet.http.HttpServletRequest request, String regexp)
    Deprecated.
     
    protected String
    Deprecated.
     
    protected String
    Deprecated.
     
    protected boolean
    Deprecated.
     
    protected boolean
    matchesUrl(javax.servlet.http.HttpServletRequest request, String regexp)
    Deprecated.
     

    Methods inherited from class org.springframework.web.filter.OncePerRequestFilter

    doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch

    Methods inherited from class org.springframework.web.filter.GenericFilterBean

    addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TmaEligibilityContextFilter

      public TmaEligibilityContextFilter(TmaEligibilityContextService eligibilityContextService, String regexp, String regexpProductApi, de.hybris.platform.servicelayer.config.ConfigurationService configurationService, TmaCustomerFacade tmaCustomerFacade)
      Deprecated.
      Parameters:
      eligibilityContextService -
      regexp -
      regexpProductApi -
  • 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
      Deprecated.
      Specified by:
      doFilterInternal in class org.springframework.web.filter.OncePerRequestFilter
      Throws:
      javax.servlet.ServletException
      IOException
    • matchesUrl

      protected boolean matchesUrl(javax.servlet.http.HttpServletRequest request, String regexp)
      Deprecated.
    • getMatcher

      protected Matcher getMatcher(javax.servlet.http.HttpServletRequest request, String regexp)
      Deprecated.
    • hasAdminRole

      protected boolean hasAdminRole()
      Deprecated.
    • getEligibilityContextService

      protected TmaEligibilityContextService getEligibilityContextService()
      Deprecated.
    • getRegexp

      protected String getRegexp()
      Deprecated.
    • getRegexpProductApi

      protected String getRegexpProductApi()
      Deprecated.
    • getConfigurationService

      public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Deprecated.