com.eviware.soapui.security.scan
Class BoundarySecurityScan

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.BoundarySecurityScan
All Implemented Interfaces:
ModelItem, SecurityScan, XPathReferenceContainer, Assertable, ResponseAssertion, PropertyChangeNotifier

public class BoundarySecurityScan
extends AbstractSecurityScanWithProperties


Nested Class Summary
 class BoundarySecurityScan.RestrictionLabel
           
 
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
BoundarySecurityScan(TestStep testStep, com.eviware.soapui.config.SecurityScanConfig config, ModelItem parent, java.lang.String icon)
           
 
Method Summary
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
 java.lang.String extractRestrictions(XmlObjectTreeModel model2, SecurityTestRunContext context, XmlObjectTreeModel.XmlTreeNode nodeToUpdate, XmlObjectTreeModel model, SecurityCheckedParameter scp, StringToStringMap stsmap)
           
 javax.swing.JComponent getComponent()
          Overide if SecurityScan have Optional component
 java.lang.String getConfigDescription()
           
 java.lang.String getConfigName()
           
 java.lang.String getHelpURL()
           
 java.lang.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)
           
 
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, clear, cloneAssertion, getAdvancedSettingsPanel, getAssertableContent, 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
 
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

BoundarySecurityScan

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

getComponent

public javax.swing.JComponent getComponent()
Description copied from class: AbstractSecurityScan
Overide if SecurityScan have Optional component

Specified by:
getComponent in interface SecurityScan
Overrides:
getComponent 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:

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

extractRestrictions

public java.lang.String extractRestrictions(XmlObjectTreeModel model2,
                                            SecurityTestRunContext context,
                                            XmlObjectTreeModel.XmlTreeNode nodeToUpdate,
                                            XmlObjectTreeModel model,
                                            SecurityCheckedParameter scp,
                                            StringToStringMap stsmap)
                                     throws org.apache.xmlbeans.XmlException,
                                            java.lang.Exception
Throws:
org.apache.xmlbeans.XmlException
java.lang.Exception

updateEnumNodeValue

public void updateEnumNodeValue(XmlObjectTreeModel.XmlTreeNode mynode,
                                EnumerationValues enumerationValues)

hasNext

protected boolean hasNext(TestStep testStep,
                          SecurityTestRunContext context)
this method uses context to handle list of mutated request

Specified by:
hasNext in class AbstractSecurityScan

isConfigurable

public boolean isConfigurable()
Specified by:
isConfigurable in interface SecurityScan
Overrides:
isConfigurable 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

refreshRestrictionLabel

public void refreshRestrictionLabel(int row)


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