@Deprecated public interface EscapingRule
ProtectionContext.| Modifier and Type | Method and Description |
|---|---|
void |
configure(String policyPath,
String[] relPathPrefixes,
SlingRepository repository)
Deprecated.
Configures the rule.
|
String |
escape(String str)
Deprecated.
Escapes the specified string according to the implementes rule.
|
void configure(String policyPath, String[] relPathPrefixes, SlingRepository repository) throws XSSProtectionException
policyPath - Path to the policy file to be usedrelPathPrefixes - Array containing prefixes for resolving relative path
prefixesrepository - The repository to useXSSProtectionException - if an error occured during configuring the serviceString escape(String str) throws XSSProtectionException
str - The string to be encodedXSSProtectionException - if an error occured while escaping the stringCopyright © 2010 - 2020 Adobe. All Rights Reserved