com.eviware.soapui.security.scan
Class XmlBombSecurityScan

java.lang.Object
  extended by com.eviware.soapui.model.support.AbstractModelItem
      extended by com.eviware.soapui.model.support.AbstractAnimatableModelItem<com.eviware.soapui.config.ModelItemConfig>
          extended by com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.SecurityScanConfig>
              extended by com.eviware.soapui.security.scan.AbstractSecurityScan
                  extended by com.eviware.soapui.security.scan.AbstractSecurityScanWithProperties
                      extended by com.eviware.soapui.security.scan.XmlBombSecurityScan
All Implemented Interfaces:
ModelItem, SecurityScan, XPathReferenceContainer, Assertable, ResponseAssertion, PropertyChangeNotifier

public class XmlBombSecurityScan
extends AbstractSecurityScanWithProperties


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.Assertable
Assertable.AssertionStatus
 
Field Summary
static java.lang.String NAME
           
static java.lang.String TYPE
           
 
Fields inherited from class com.eviware.soapui.security.scan.AbstractSecurityScanWithProperties
SECURITY_CHANGED_PARAMETERS
 
Fields inherited from class com.eviware.soapui.security.scan.AbstractSecurityScan
assertionsSupport
 
Fields inherited from interface com.eviware.soapui.model.security.SecurityScan
SECURITY_CHECK_RESPONSE_RESULT, SECURITY_SCAN_REQUEST_RESULT, STATUS_PROPERTY
 
Fields inherited from interface com.eviware.soapui.model.ModelItem
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
 
Constructor Summary
XmlBombSecurityScan(TestStep testStep, com.eviware.soapui.config.SecurityScanConfig config, ModelItem parent, java.lang.String icon)
           
 
Method Summary
protected  void clear()
           
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
 javax.swing.JComponent getAdvancedSettingsPanel()
          Overide if SecurityScan needs advanced settings
 java.lang.String getAttachmentPrefix()
           
 java.lang.String getConfigDescription()
           
 java.lang.String getConfigName()
           
 java.lang.String getHelpURL()
           
 java.lang.String getType()
          The type of this check
 java.util.List<java.lang.String> getXmlBombList()
           
protected  boolean hasNext(TestStep testStep, SecurityTestRunContext context)
          checks if specific SecurityScan still has modifications left
 boolean isAttachXmlBomb()
           
 void setAttachmentPrefix(java.lang.String prefix)
           
 void setAttachXmlBomb(boolean attach)
           
protected  void setBombList(java.util.List<java.lang.String> bombList)
           
 
Methods inherited from class com.eviware.soapui.security.scan.AbstractSecurityScanWithProperties
copyConfig, createMessageExchange, getParameterAt, getParameterByLabel, getParameterHolder, getXPathReferences, importParameter, release, setParameterHolder, updateSecurityConfig
 
Methods inherited from class com.eviware.soapui.security.scan.AbstractSecurityScan
addAssertion, addAssertionsListener, addPropertyChangeListener, addWsdlAssertion, assertResponse, cloneAssertion, getAssertableContent, 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
 
Methods inherited from class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettings
 
Methods inherited from class com.eviware.soapui.model.support.AbstractModelItem
addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getChildren, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.eviware.soapui.model.security.SecurityScan
getConfig
 
Methods inherited from interface com.eviware.soapui.model.ModelItem
getChildren, getDescription, getIcon, getId, getName, getParent, getSettings
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, removePropertyChangeListener
 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

XmlBombSecurityScan

public XmlBombSecurityScan(TestStep testStep,
                           com.eviware.soapui.config.SecurityScanConfig config,
                           ModelItem parent,
                           java.lang.String icon)
Method Detail

execute

protected void execute(SecurityTestRunner securityTestRunner,
                       TestStep testStep,
                       SecurityTestRunContext context)
Description copied from class: AbstractSecurityScan
should be implemented in every particular scan it executes one request, modified by securityScan if necessary and internally adds messages for logging to SecurityScanRequestResult

Specified by:
execute in class AbstractSecurityScan

getAdvancedSettingsPanel

public javax.swing.JComponent getAdvancedSettingsPanel()
Description copied from class: AbstractSecurityScan
Overide if SecurityScan needs advanced settings

Specified by:
getAdvancedSettingsPanel in interface SecurityScan
Overrides:
getAdvancedSettingsPanel in class AbstractSecurityScan
Returns:

getType

public java.lang.String getType()
Description copied from interface: SecurityScan
The type of this check

Specified by:
getType in interface SecurityScan
Specified by:
getType in class AbstractSecurityScan
Returns:

isAttachXmlBomb

public boolean isAttachXmlBomb()

setAttachXmlBomb

public void setAttachXmlBomb(boolean attach)

getXmlBombList

public java.util.List<java.lang.String> getXmlBombList()

setBombList

protected void setBombList(java.util.List<java.lang.String> bombList)

getAttachmentPrefix

public java.lang.String getAttachmentPrefix()

setAttachmentPrefix

public void setAttachmentPrefix(java.lang.String prefix)

hasNext

protected boolean hasNext(TestStep testStep,
                          SecurityTestRunContext context)
Description copied from class: AbstractSecurityScan
checks if specific SecurityScan still has modifications left

Specified by:
hasNext in class AbstractSecurityScan

clear

protected void clear()
Overrides:
clear in class AbstractSecurityScan

getConfigDescription

public java.lang.String getConfigDescription()
Specified by:
getConfigDescription in interface SecurityScan
Specified by:
getConfigDescription in class AbstractSecurityScan

getConfigName

public java.lang.String getConfigName()
Specified by:
getConfigName in interface SecurityScan
Specified by:
getConfigName in class AbstractSecurityScan

getHelpURL

public java.lang.String getHelpURL()
Specified by:
getHelpURL in interface SecurityScan
Specified by:
getHelpURL in class AbstractSecurityScan


Copyright © 2005-2011 eviware.com. All Rights Reserved.