This documentation is for WSO2 Data Analytics Server 3.0.1. View documentation for the latest release.

All docs This doc
||
Skip to end of metadata
Go to start of metadata

This feature is only available as a WUM update with the Carbon security patches WSO2-CARBON-PATCH-4.4.0-0235 and WSO2-CARBON-PATCH-4.4.0-0240. These patches can be downloaded from here. For more information on updating WSO2 Data Analytics Server, see Updating WSO2 Products.

This section explains how to prevent sensitive information handled by WSO2 DAS from being cached. This is achieved via the cache prevention filter.

For more information about Tomcat filters, see Apache Tomcat documentation.

To apply this filter, open the <DAS_HOME>/repository/conf/tomcat/carbon/WEB-INF/web.xml file and make the following changes:

  1. Add a filter as follows under the existing filters.

    <filter>
       	 <filter-name>URLBasedCachePreventionFilter</filter-name>
       	<filter-class>org.wso2.carbon.ui.filters.cache.URLBasedCachePreventionFilter</filter-class>
    </filter>
  2. Add the following filter mapping under the existing filter mappings.

    You need to make sure that this is the last filter mapping configuration in the web.xml file.

    <filter-mapping>
        	<filter-name>URLBasedCachePreventionFilter</filter-name>
        	<url-pattern>*.jsp</url-pattern>
    </filter-mapping>
  3. Save the changes and restart WSO2 DAS.
  • No labels