|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.opencms.jsp.CmsJspTagSecureParams
public class CmsJspTagSecureParams
This tag is used to enable parameter escaping for a single Flex Request.
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
CmsJspTagSecureParams()
|
|
| Method Summary | |
|---|---|
int |
doStartTag()
|
static void |
secureParamsTagAction(javax.servlet.ServletRequest request,
java.lang.String allowXml,
java.lang.String allowHtml,
java.lang.String policy)
Static method which provides the actual functionality of this tag. |
void |
setAllowHtml(java.lang.String allowHtml)
Sets the 'allowHtml' parameter. |
void |
setAllowXml(java.lang.String allowXml)
Sets the 'allowXml' parameter. |
void |
setPolicy(java.lang.String policy)
Sets the 'policy' parameter. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsJspTagSecureParams()
| Method Detail |
|---|
public static void secureParamsTagAction(javax.servlet.ServletRequest request,
java.lang.String allowXml,
java.lang.String allowHtml,
java.lang.String policy)
request - the request for which the parameters should be escapedallowXml - the comma-separated list of parameters for which XML characters will not be escapedallowHtml - the comma-separated list of parameters for which HTML will be allowed, but be escapedpolicy - the site path of an AntiSamy policy filepublic int doStartTag()
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportTag.doStartTag()public void setAllowHtml(java.lang.String allowHtml)
allowHtml - the new 'allowHtml' parameterpublic void setAllowXml(java.lang.String allowXml)
allowXml - the new 'allowXml' parameterpublic void setPolicy(java.lang.String policy)
policy - the new 'policy' parameter
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||