@Service(value="contentAntiSammySecurityFilter") public class ContentAntiSammySecurityFilter extends Object implements Filter
Modifier and Type | Field and Description |
---|---|
static String |
POLICY_RES_LOCATION |
Constructor and Description |
---|
ContentAntiSammySecurityFilter() |
Modifier and Type | Method and Description |
---|---|
CharSequence |
filter(CharSequence rawContent)
Filter content, or if there are serious objections then throws
FilterException |
void |
init()
Any policy init or re-init
|
public static final String POLICY_RES_LOCATION
public void init() throws org.owasp.validator.html.PolicyException, IOException
Filter
init
in interface Filter
org.owasp.validator.html.PolicyException
IOException
public CharSequence filter(CharSequence rawContent) throws FilterException
Filter
FilterException
filter
in interface Filter
FilterException
Copyright © 2018. All rights reserved.