Class SimpleCatalogVersionActivationFilter

  • 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 SimpleCatalogVersionActivationFilter
    extends org.springframework.web.filter.GenericFilterBean
    SimpleCatalogVersionActivationFilter assures that the configured catalog versions are set as session catalog versions.
    Configuration parameters:
  • activeCatalogVersions: String specifying the catalog version which should be set as session catalogversion, format is : catalogId:catalogVersion,catalogId2:catalogVersion2. (E.g.hwcatalog:Online,clothescatalog:Online in order to activate the online versions of HWCatalog and ClothesCatalog)
  • onlySetOnce: Set to true if order to set the session catalogVersions only once for a http session.