Package | Description |
---|---|
org.apache.sling.xss |
XSS Protection Service
|
org.apache.sling.xss.impl |
Modifier and Type | Method and Description |
---|---|
static void |
JSONUtil.putProtected(org.apache.sling.commons.json.JSONObject object,
String key,
String value,
XSSFilter xss)
Deprecated.
Puts a xss protected value into a JSON object.
|
static void |
JSONUtil.putWithProtected(org.apache.sling.commons.json.JSONObject object,
String key,
String value,
XSSFilter xss)
Deprecated.
Puts a value into a JSON object
In addition, the xss protected value is put under the provided key appended by
JSONUtil.KEY_SUFFIX_XSS |
static void |
JSONUtil.writeProtected(org.apache.sling.commons.json.io.JSONWriter writer,
String key,
String[] values,
XSSFilter xss)
Deprecated.
Writes a xss protected value array into a JSON writer.
|
static void |
JSONUtil.writeProtected(org.apache.sling.commons.json.io.JSONWriter writer,
String key,
String value,
XSSFilter xss)
Deprecated.
Writes a xss protected value into a JSON writer.
|
static void |
JSONUtil.writeWithProtected(org.apache.sling.commons.json.io.JSONWriter writer,
String key,
String[] values,
XSSFilter xss)
Deprecated.
Writes a value array into a JSON write.
|
static void |
JSONUtil.writeWithProtected(org.apache.sling.commons.json.io.JSONWriter writer,
String key,
String value,
XSSFilter xss)
Deprecated.
Writes a value into a JSON write
In addition, the xss protected value is written with the provided key appended by
JSONUtil.KEY_SUFFIX_XSS |
Modifier and Type | Class and Description |
---|---|
class |
XSSFilterImpl
This class implements the
XSSFilter using the Antisamy XSS protection library found at
http://code.google.com/p/owaspantisamy/. |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.