public class SecurityCheckedParameterHolder extends SecurityScanParameterListenerAdapter
Holder for SecurityScanPameters, which are request parameters on which security scan is applied.
Constructor and description |
---|
SecurityCheckedParameterHolder
(SecurityScan securityCheck, CheckedParametersListConfig checkedPameters) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
addParameter(java.lang.String label, java.lang.String name, java.lang.String xpath, boolean used) |
|
void |
addParameterListener(SecurityScanParameterHolderListener listener) |
|
void |
fireParameterAdded(SecurityCheckedParameter parameter) |
|
void |
fireParameterRemoved(SecurityCheckedParameter parameter) |
|
SecurityCheckedParameter |
getParametarByLabel(java.lang.String paramLabel) This method returns parameter based on its label. |
|
java.util.List<SecurityCheckedParameter> |
getParametarsByName(java.lang.String paramName) This method returns parameter based on its name. |
|
java.lang.String[] |
getParameterLabels() |
|
java.util.List<SecurityCheckedParameter> |
getParameterList() |
|
void |
parameterLabelChanged(SecurityCheckedParameter parameter, java.lang.String oldLabel, java.lang.String newLabel) |
|
void |
propertyAdded(java.lang.String name) |
|
void |
propertyMoved(java.lang.String name, int oldIndex, int newIndex) |
|
void |
propertyRemoved(java.lang.String name) |
|
void |
propertyRenamed(java.lang.String oldName, java.lang.String newName) |
|
void |
propertyValueChanged(java.lang.String name, java.lang.String oldValue, java.lang.String newValue) |
|
void |
release() |
|
void |
removeParameter(SecurityCheckedParameter parameter) |
|
void |
removeParameterListener(SecurityScanParameterHolderListener listener) |
|
void |
removeParameters(int[] selected) |
|
void |
updateConfig(CheckedParametersListConfig config) |
Methods inherited from class | Name |
---|---|
class SecurityScanParameterListenerAdapter |
parameterCheckedChanged, parameterLabelChanged, parameterNameChanged, parameterTypeChanged, parameterXPathChanged |
This method returns parameter based on its label.
This method returns parameter based on its name.