Package org.apache.ofbiz.base.html
Interface SanitizerCustomPolicy
-
- All Known Implementing Classes:
CustomPermissivePolicy
,CustomSafePolicy
public interface SanitizerCustomPolicy
This interface is used to build a custom sanitizer policy which then can be used instead of the default permissive policy. The custom policy will the be used inUtilCodec.HtmlEncoder.sanitize(String, String)
-
-
Field Summary
Fields Modifier and Type Field Description static org.owasp.html.PolicyFactory
POLICY_DEFINITION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.owasp.html.PolicyFactory
getSanitizerPolicy()
Used for getting the policy from the custom class which implements this interface
-