@Deprecated
public interface EscapingRule
ProtectionContext.| Modifier and Type | Method and Description |
|---|---|
void |
configure(java.lang.String policyPath,
java.lang.String[] relPathPrefixes,
SlingRepository repository)
Deprecated.
Configures the rule.
|
java.lang.String |
escape(java.lang.String str)
Deprecated.
Escapes the specified string according to the implementes rule.
|
void configure(java.lang.String policyPath,
java.lang.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 servicejava.lang.String escape(java.lang.String str)
throws XSSProtectionException
str - The string to be encodedXSSProtectionException - if an error occured while escaping the stringCopyright © 2010 - 2023 Adobe. All Rights Reserved