com.eviware.soapui.support
Class SecurityScanUtil

java.lang.Object
  extended by com.eviware.soapui.support.SecurityScanUtil

public class SecurityScanUtil
extends java.lang.Object


Constructor Summary
SecurityScanUtil()
           
 
Method Summary
static java.lang.String contains(SubmitContext context, java.lang.String content, java.lang.String token, boolean useRegEx)
           
static java.util.List<java.lang.String> getAllSecurityScanNames(boolean excludeCustomScript)
           
static MutableTestPropertyHolder getGlobalSensitiveInformationExposureTokens()
           
static RestParamsPropertyHolder getSoapRequestParams(AbstractHttpRequest<?> request)
           
static XmlObjectTreeModel getXmlObjectTreeModel(TestStep testStep, SecurityCheckedParameter scp)
           
static java.util.Map<java.lang.String,java.lang.String> globalEntriesList()
           
static java.util.Map<java.lang.String,java.lang.String> projectEntriesList(SensitiveInfoExposureAssertion sensitiveInfoExposureAssertion)
           
static void saveGlobalSecuritySettings()
           
static boolean scanIsApplicableForTestStep(TestStep testStep, java.lang.String scanName)
          checks if scan is applicable for provided testStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityScanUtil

public SecurityScanUtil()
Method Detail

globalEntriesList

public static java.util.Map<java.lang.String,java.lang.String> globalEntriesList()

contains

public static java.lang.String contains(SubmitContext context,
                                        java.lang.String content,
                                        java.lang.String token,
                                        boolean useRegEx)

getSoapRequestParams

public static RestParamsPropertyHolder getSoapRequestParams(AbstractHttpRequest<?> request)

projectEntriesList

public static java.util.Map<java.lang.String,java.lang.String> projectEntriesList(SensitiveInfoExposureAssertion sensitiveInfoExposureAssertion)

getXmlObjectTreeModel

public static XmlObjectTreeModel getXmlObjectTreeModel(TestStep testStep,
                                                       SecurityCheckedParameter scp)

saveGlobalSecuritySettings

public static void saveGlobalSecuritySettings()

getGlobalSensitiveInformationExposureTokens

public static MutableTestPropertyHolder getGlobalSensitiveInformationExposureTokens()

scanIsApplicableForTestStep

public static boolean scanIsApplicableForTestStep(TestStep testStep,
                                                  java.lang.String scanName)
checks if scan is applicable for provided testStep

Parameters:
testStep -
scanName -
Returns:

getAllSecurityScanNames

public static java.util.List<java.lang.String> getAllSecurityScanNames(boolean excludeCustomScript)
Parameters:
excludeCustomScript -
Returns:
list of security scan names from SecurityScanRegistry optionally excluding Custom Script scan


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