Package org.apache.sling.xss.impl
Class FallbackSlingPolicy
- java.lang.Object
-
- org.owasp.validator.html.Policy
-
- org.owasp.validator.html.InternalPolicy
-
- org.apache.sling.xss.impl.FallbackSlingPolicy
-
public class FallbackSlingPolicy extends org.owasp.validator.html.InternalPolicy
-
-
Field Summary
-
Fields inherited from class org.owasp.validator.html.Policy
ACTION_FILTER, ACTION_TRUNCATE, ACTION_VALIDATE, ALLOW_DYNAMIC_ATTRIBUTES, ANCHORS_NOFOLLOW, ANYTHING_REGEXP, CONNECTION_TIMEOUT, DEFAULT_MAX_INPUT_SIZE, DEFAULT_MAX_STYLESHEET_IMPORTS, DEFAULT_POLICY_URI, directives, DISALLOW_DOCTYPE_DECL, EMBED_STYLESHEETS, ENTITY_ENCODE_INTL_CHARS, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAM_ENTITIES, FORMAT_OUTPUT, LOAD_EXTERNAL_DTD, OMIT_DOCTYPE_DECLARATION, OMIT_XML_DECLARATION, PRESERVE_COMMENTS, PRESERVE_SPACE, tagRules, USE_XHTML, VALIDATE_PARAM_AS_EMBED, VALIDATIONPROPERTY
-
-
Constructor Summary
Constructors Constructor Description FallbackSlingPolicy(InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.owasp.validator.html.model.Tag
getTagByLowercaseName(String tagName)
-
Methods inherited from class org.owasp.validator.html.InternalPolicy
determineMaxInputSize, getEmbedTag, getMaxInputSize, getOnUnknownTag, getStyleTag, isAllowDynamicAttributes, isEmbedStyleSheets, isEncodeUnknownTag, isEntityEncodeIntlCharacters, isFormatOutput, isNofollowAnchors, isOmitDoctypeDeclaration, isOmitXmlDeclaration, isPreserveComments, isPreserveSpace, isUseXhtml, isValidateParamAsEmbed
-
Methods inherited from class org.owasp.validator.html.Policy
cloneWithDirective, getAllowedEmptyTags, getCommonRegularExpressions, getDirective, getDynamicAttributeByName, getGlobalAttributeByName, getInstance, getInstance, getInstance, getInstance, getInstance, getParseContext, getPropertyByName, getRequiresClosingTags, getSchemaValidation, getSimpleParseContext, getSourceFromUrl, getTopLevelElement, getTopLevelElement, resolveEntity, setSchemaValidation
-
-
-
-
Constructor Detail
-
FallbackSlingPolicy
public FallbackSlingPolicy(InputStream inputStream) throws org.owasp.validator.html.PolicyException
- Throws:
org.owasp.validator.html.PolicyException
-
-
Method Detail
-
getTagByLowercaseName
public org.owasp.validator.html.model.Tag getTagByLowercaseName(String tagName)
- Overrides:
getTagByLowercaseName
in classorg.owasp.validator.html.Policy
-
-