@Deprecated public class ProtectBody extends BodyTagSupport
The policy to be used may be specified using the policy attribute.
| Constructor and Description |
|---|
ProtectBody()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doAfterBody()
Deprecated.
Executes the XSS removal.
|
String |
getContext()
Deprecated.
Get the protection context.
|
String |
getPolicy()
Deprecated.
Get the path to the policy to be used.
|
void |
setContext(String context)
Deprecated.
Set the protection context.
|
void |
setPolicy(String policy)
Deprecated.
Set the path to the policy to be used.
|
public String getPolicy()
null, if the default policy has to
be usedpublic void setPolicy(String policy)
policy - Path to policy file to use; null, if the default policy
has to be usedpublic String getContext()
public void setContext(String context)
context - The protection contextpublic int doAfterBody()
throws JspException
JspException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"