



Из документации:
This is the main class for the ESAPI Web Application Firewall (WAF). It is a standard J2EE servlet filter that, in different methods, invokes the reading of the configuration file and handles the runtime processing and enforcing of the developer-specified rules. Ideally the filter should be configured to catch all requests (/*) in web.xml. If there are URL segments that need to be extremely fast and don't require any protection, the pattern may be modified with extreme caution.
Чтобы использовать фильтр, добавьте org.owasp.esapi.waf.ESAPIWebApplicationFirewallFilter в web.xml и добавьте файл jar в project library..
<filter>
<filter-name>ESAPI-WAF</filter-name>
<filter-class>org.owasp.esapi.waf.ESAPIWebApplicationFirewallFilter</filter-class>
</filter>
как создать файл waf-policy (правила, указанные разработчиком)? пожалуйста, поделитесь примером и полным описанием.