@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 string"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"