public class MalformedXmlSecurityScan extends AbstractSecurityScanWithProperties
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 |
---|
MalformedXmlSecurityScan(TestStep testStep,
SecurityScanConfig config,
ModelItem parent,
String icon) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
protected void |
execute(SecurityTestRunner runner,
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
|
JComponent |
getAdvancedSettingsPanel()
Overide if SecurityScan needs advanced settings
|
String |
getConfigDescription() |
String |
getConfigName() |
String |
getHelpURL() |
String |
getType()
The type of this check
|
protected boolean |
hasNext(TestStep testStep,
SecurityTestRunContext context)
checks if specific SecurityScan still has modifications left
|
protected void |
initMalformedXmlConfig()
Default malformed xml configuration
|
protected Collection<? extends String> |
mutateNode(XmlObjectTreeModel.XmlTreeNode node,
String xml) |
protected void |
mutateParameters(TestStep testStep,
SecurityTestRunContext context) |
void |
release() |
protected StringToStringMap |
update(TestStep testStep,
SecurityTestRunContext context) |
copyConfig, createMessageExchange, getParameterAt, getParameterByLabel, getParameterHolder, getXPathReferences, importParameter, setParameterHolder, updateSecurityConfig
addAssertion, addAssertionsListener, addPropertyChangeListener, addWsdlAssertion, assertResponse, cloneAssertion, getAssertableContent, getAssertableContentAsXml, getAssertableType, getAssertionAt, getAssertionByName, getAssertionCount, getAssertionList, getAssertions, getAssertionsSupport, getAssertionStatus, getComponent, getDefaultAssertableContent, getExecutionStrategy, getInterface, getModelItem, getOriginalResult, getRequest, getSecurityScanRequestResult, getSecurityScanResult, getSecurityStatus, getTestStep, initAssertions, isApplyForFailedStep, isConfigurable, 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 MalformedXmlSecurityScan(TestStep testStep, SecurityScanConfig config, ModelItem parent, String icon)
protected void initMalformedXmlConfig()
protected void execute(SecurityTestRunner runner, TestStep testStep, SecurityTestRunContext context)
AbstractSecurityScan
execute
in class AbstractSecurityScan
protected StringToStringMap update(TestStep testStep, SecurityTestRunContext context) throws org.apache.xmlbeans.XmlException, Exception
org.apache.xmlbeans.XmlException
Exception
protected void mutateParameters(TestStep testStep, SecurityTestRunContext context) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlException
IOException
protected Collection<? extends String> mutateNode(XmlObjectTreeModel.XmlTreeNode node, String xml) throws IOException
IOException
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 String getType()
SecurityScan
getType
in interface SecurityScan
getType
in class AbstractSecurityScan
protected boolean hasNext(TestStep testStep, SecurityTestRunContext context)
AbstractSecurityScan
hasNext
in class AbstractSecurityScan
protected void clear()
clear
in class AbstractSecurityScan
public JComponent getAdvancedSettingsPanel()
AbstractSecurityScan
getAdvancedSettingsPanel
in interface SecurityScan
getAdvancedSettingsPanel
in class AbstractSecurityScan
public void release()
release
in interface Releasable
release
in interface SecurityScan
release
in class AbstractSecurityScanWithProperties
Copyright © 2019. All Rights Reserved.