Package com.eviware.soapui.security.scan

Examples of com.eviware.soapui.security.scan.AbstractSecurityScanWithProperties


        }
        else
        {
          if( this.securityCheck instanceof AbstractSecurityScanWithProperties )
          {
            AbstractSecurityScanWithProperties scanWithProperties = ( AbstractSecurityScanWithProperties )this.securityCheck;
            if( scanWithProperties.getParameterHolder() != null
                && ( scanWithProperties.getParameterHolder().getParameterList() != null && ( scanWithProperties
                    .getParameterHolder().getParameterList().size() == 0 ) ) )
            {
              progressBar.setForeground( MISSING_ASSERTION_COLOR );
              progressBar.setString( STATE_MISSING_PARAMETERS );
            }
View Full Code Here


    boolean overwrite = dialog.getBooleanValue( CloneParameterDialog.OVERWRITE );

    for( String scanName : targetSecurityScans )
    {
      AbstractSecurityScanWithProperties targetSecurityScan = ( AbstractSecurityScanWithProperties )targetSecurityTest
          .getTestStepSecurityScanByName( targetTestStep.getId(), scanName );

      for( int i : indexes )
      {
        SecurityCheckedParameter scanParameter = securityScan.getParameterAt( i );
        String newParameterLabel = scanParameter.getLabel();
        if( securityScan.getParameterByLabel( scanParameter.getLabel() ) != null )
        {
          if( securityScan.equals( targetSecurityScan ) )
          {
            newParameterLabel = "Copy of " + scanParameter.getLabel();
          }
        }
        if( targetSecurityScan.importParameter( scanParameter, overwrite, newParameterLabel )
            && !items.contains( targetSecurityScan ) )
        {
          items.add( targetSecurityScan );
        }
      }
View Full Code Here

                if (securityCheck.getAssertionCount() == 0) {
                    progressBar.setForeground(MISSING_ASSERTION_COLOR);
                    progressBar.setString(STATE_MISSING_ASSERTIONS);
                } else {
                    if (this.securityCheck instanceof AbstractSecurityScanWithProperties) {
                        AbstractSecurityScanWithProperties scanWithProperties = (AbstractSecurityScanWithProperties) this.securityCheck;
                        if (scanWithProperties.getParameterHolder() != null
                                && (scanWithProperties.getParameterHolder().getParameterList() != null && (scanWithProperties
                                .getParameterHolder().getParameterList().size() == 0))) {
                            progressBar.setForeground(MISSING_ASSERTION_COLOR);
                            progressBar.setString(STATE_MISSING_PARAMETERS);
                        } else if (securityCheckResult.getStatus() == ResultStatus.SKIPPED) {
                            progressBar.setForeground(defaultBackground);
View Full Code Here

        TestStep targetTestStep = targetTestCase.getTestStepByName(targetSecurityTestStepName);

        boolean overwrite = dialog.getBooleanValue(CloneParameterDialog.OVERWRITE);

        for (String scanName : targetSecurityScans) {
            AbstractSecurityScanWithProperties targetSecurityScan = (AbstractSecurityScanWithProperties) targetSecurityTest
                    .getTestStepSecurityScanByName(targetTestStep.getId(), scanName);

            for (int i : indexes) {
                SecurityCheckedParameter scanParameter = securityScan.getParameterAt(i);
                String newParameterLabel = scanParameter.getLabel();
                if (securityScan.getParameterByLabel(scanParameter.getLabel()) != null) {
                    if (securityScan.equals(targetSecurityScan)) {
                        newParameterLabel = "Copy of " + scanParameter.getLabel();
                    }
                }
                if (targetSecurityScan.importParameter(scanParameter, overwrite, newParameterLabel)
                        && !items.contains(targetSecurityScan)) {
                    items.add(targetSecurityScan);
                }
            }
        }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.security.scan.AbstractSecurityScanWithProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.