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:
Add a filter as follows under the existing filters.
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
- Save the changes and restart WSO2 DAS.