public class BoundarySecurityScan extends AbstractSecurityScanWithProperties
Modifier and Type | Class and Description |
---|---|
class |
BoundarySecurityScan.RestrictionLabel |
Assertable.AssertionStatus
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
static String |
TYPE |
SECURITY_CHANGED_PARAMETERS
assertionsSupport
SECURITY_CHECK_RESPONSE_RESULT, SECURITY_SCAN_REQUEST_RESULT, STATUS_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
BoundarySecurityScan(TestStep testStep,
SecurityScanConfig config,
ModelItem parent,
String icon) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(SecurityTestRunner securityTestRunner,
TestStep testStep,
SecurityTestRunContext context)
should be implemented in every particular scan it executes one request,
modified by securityScan if necessary and internally adds messages for
logging to SecurityScanRequestResult
|
String |
extractRestrictions(XmlObjectTreeModel model2,
SecurityTestRunContext context,
XmlObjectTreeModel.XmlTreeNode nodeToUpdate,
XmlObjectTreeModel model,
SecurityCheckedParameter scp,
StringToStringMap stsmap) |
JComponent |
getComponent()
Overide if SecurityScan have Optional component
|
String |
getConfigDescription() |
String |
getConfigName() |
String |
getHelpURL() |
String |
getType()
The type of this check
|
protected boolean |
hasNext(TestStep testStep,
SecurityTestRunContext context)
this method uses context to handle list of mutated request
|
boolean |
isConfigurable() |
void |
refreshRestrictionLabel(int row) |
void |
updateEnumNodeValue(XmlObjectTreeModel.XmlTreeNode mynode,
EnumerationValues enumerationValues) |
copyConfig, createMessageExchange, getParameterAt, getParameterByLabel, getParameterHolder, getXPathReferences, importParameter, release, setParameterHolder, updateSecurityConfig
addAssertion, addAssertionsListener, addPropertyChangeListener, addWsdlAssertion, assertResponse, clear, cloneAssertion, getAdvancedSettingsPanel, getAssertableContent, getAssertableContentAsXml, getAssertableType, getAssertionAt, getAssertionByName, getAssertionCount, getAssertionList, getAssertions, getAssertionsSupport, getAssertionStatus, getDefaultAssertableContent, getExecutionStrategy, getInterface, getModelItem, getOriginalResult, getRequest, getSecurityScanRequestResult, getSecurityScanResult, getSecurityStatus, getTestStep, initAssertions, isApplyForFailedStep, isDisabled, isRunOnlyOnce, isSecurable, isSkipFurtherRunning, moveAssertion, removeAssertion, removeAssertionsListener, removePropertyChangeListener, reportSecurityScanException, run, setApplyForFailedTestStep, setDisabled, setExecutionStrategy, setRunOnlyOnce, setSecurityScanRequestResult, setSkipFurtherRunning, setTestStep
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfig
getChildren, getDescription, getIcon, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, removePropertyChangeListener
public static final String TYPE
public static final String NAME
public BoundarySecurityScan(TestStep testStep, SecurityScanConfig config, ModelItem parent, String icon)
public JComponent getComponent()
AbstractSecurityScan
getComponent
in interface SecurityScan
getComponent
in class AbstractSecurityScan
public String getType()
SecurityScan
getType
in interface SecurityScan
getType
in class AbstractSecurityScan
protected void execute(SecurityTestRunner securityTestRunner, TestStep testStep, SecurityTestRunContext context)
AbstractSecurityScan
execute
in class AbstractSecurityScan
public String extractRestrictions(XmlObjectTreeModel model2, SecurityTestRunContext context, XmlObjectTreeModel.XmlTreeNode nodeToUpdate, XmlObjectTreeModel model, SecurityCheckedParameter scp, StringToStringMap stsmap) throws org.apache.xmlbeans.XmlException, Exception
org.apache.xmlbeans.XmlException
Exception
public void updateEnumNodeValue(XmlObjectTreeModel.XmlTreeNode mynode, EnumerationValues enumerationValues)
protected boolean hasNext(TestStep testStep, SecurityTestRunContext context)
hasNext
in class AbstractSecurityScan
public boolean isConfigurable()
isConfigurable
in interface SecurityScan
isConfigurable
in class AbstractSecurityScan
public String getConfigDescription()
getConfigDescription
in interface SecurityScan
getConfigDescription
in class AbstractSecurityScan
public String getConfigName()
getConfigName
in interface SecurityScan
getConfigName
in class AbstractSecurityScan
public String getHelpURL()
getHelpURL
in interface SecurityScan
getHelpURL
in class AbstractSecurityScan
public void refreshRestrictionLabel(int row)
Copyright © 2019. All Rights Reserved.