Class RestSessionDataInjectionFilter

  • 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 RestSessionDataInjectionFilter
    extends org.springframework.web.filter.GenericFilterBean
    Filter that creates a new session for the request and injects data into the session with restrictions disabled. This filter is designed to create a new session and to inject any pertinent data into the current session, e.g. all the catalog versions, before dispatching to the controller.
    • Constructor Detail

      • RestSessionDataInjectionFilter

        public RestSessionDataInjectionFilter()
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain filterChain)
                      throws java.io.IOException,
                             javax.servlet.ServletException
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • setSessionService

        public void setSessionService​(SessionService sessionService)
      • setSearchRestrictionService

        public void setSearchRestrictionService​(SearchRestrictionService searchRestrictionService)
      • setCatalogVersionService

        public void setCatalogVersionService​(CatalogVersionService catalogVersionService)