public class ParamNameWhitelistStrategy extends Object implements RequestParamCleaningWhitelistStrategy
Constructor and Description |
---|
ParamNameWhitelistStrategy() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getParamNames() |
boolean |
isWhiteListed(String path,
String paramName)
Checks whether a parameter is white-listed by its name.
|
void |
setParamNames(Set<String> paramNames) |
public boolean isWhiteListed(String path, String paramName)
isWhiteListed
in interface RequestParamCleaningWhitelistStrategy
path
- ignoredparamName
- the name of the parameter to checkCopyright © 2003–2016 Atlassian. All rights reserved.