Package com.eviware.soapui.model.security

Examples of com.eviware.soapui.model.security.SecurityCheckedParameter


    {
      restrictionLabel.setJlabel( "- no parameter selected -" );
      return;
    }

    SecurityCheckedParameter parameter = getParameterAt( row );
    if( parameter == null )
      return;

    String name = parameter.getName();
    String xpath = parameter.getXpath();
    TestProperty tp = getTestStep().getProperty( name );
    XmlObjectTreeModel xmlObjectTreeModel = null;
    if( tp.getSchemaType() != null && XmlUtils.seemsToBeXml( tp.getValue() ) )
    {
      try
View Full Code Here


    }
  }

  SecurityCheckedParameter addParameter( CheckedParameterConfig param )
  {
    SecurityCheckedParameter result = new SecurityCheckedParameterImpl( param );
    params.add( result );
    paramsMap.put( result.getLabel().toUpperCase(), result );

    fireParameterAdded( result );

    return result;
  }
View Full Code Here

   * java.lang.String, java.lang.String)
   */
  @Override
  public void parameterLabelChanged( SecurityCheckedParameter parameter, String oldLabel, String newLabel )
  {
    SecurityCheckedParameter param = paramsMap.get( oldLabel );
    paramsMap.remove( oldLabel );
    paramsMap.put( newLabel, param );
  }
View Full Code Here

      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 ) )
        {
View Full Code Here

    if( row == -1 )
    {
      typeLabel.setJlabel( "- no parameter selected -" );
      return;
    }
    SecurityCheckedParameter parameter = getParameterAt( row );
    if( parameter == null )
    {
      return;
    }
    String name = parameter.getName();
    String xpath = parameter.getXpath();
    TestProperty tp = getTestStep().getProperty( name );
    XmlObjectTreeModel xmlObjectTreeModel = null;
    if( tp.getSchemaType() != null && XmlUtils.seemsToBeXml( tp.getValue() ) )
    {
      try
View Full Code Here

            }
        }
    }

    SecurityCheckedParameter addParameter(CheckedParameterConfig param) {
        SecurityCheckedParameter result = new SecurityCheckedParameterImpl(param);
        params.add(result);
        paramsMap.put(result.getLabel().toUpperCase(), result);

        fireParameterAdded(result);

        return result;
    }
View Full Code Here

     * (com.eviware.soapui.model.security.SecurityCheckedParameter,
     * java.lang.String, java.lang.String)
     */
    @Override
    public void parameterLabelChanged(SecurityCheckedParameter parameter, String oldLabel, String newLabel) {
        SecurityCheckedParameter param = paramsMap.get(oldLabel);
        paramsMap.remove(oldLabel);
        paramsMap.put(newLabel, param);
    }
View Full Code Here

    public void refreshRestrictionLabel(int row) {
        if (row == -1) {
            typeLabel.setJlabel("- no parameter selected -");
            return;
        }
        SecurityCheckedParameter parameter = getParameterAt(row);
        if (parameter == null) {
            return;
        }
        String name = parameter.getName();
        String xpath = parameter.getXpath();
        TestProperty tp = getTestStep().getProperty(name);
        XmlObjectTreeModel xmlObjectTreeModel = null;
        if (tp.getSchemaType() != null && XmlUtils.seemsToBeXml(tp.getValue())) {
            try {
                // xmlObjectTreeModel = new XmlObjectTreeModel(
View Full Code Here

        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 (row == -1) {
            restrictionLabel.setJlabel("- no parameter selected -");
            return;
        }

        SecurityCheckedParameter parameter = getParameterAt(row);
        if (parameter == null) {
            return;
        }

        String name = parameter.getName();
        String xpath = parameter.getXpath();
        TestProperty tp = getTestStep().getProperty(name);
        XmlObjectTreeModel xmlObjectTreeModel = null;
        if (tp.getSchemaType() != null && XmlUtils.seemsToBeXml(tp.getValue())) {
            try {
                // xmlObjectTreeModel = new XmlObjectTreeModel(
View Full Code Here

TOP

Related Classes of com.eviware.soapui.model.security.SecurityCheckedParameter

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.