Package org.owasp.webscarab.model

Examples of org.owasp.webscarab.model.ConversationID


                if (e.getValueIsAdjusting()) {
                    return;
                }
                int row = OpenIdPanel.this.openIdTable.getSelectedRow();
                TableModel tm = OpenIdPanel.this.openIdTable.getModel();
                ConversationID id;
                if (row > -1) {
                    id = (ConversationID) tm.getValueAt(
                            row, 0); // UGLY hack! FIXME!!!!
                    OpenIdPanel.this.displayOpenID(id);
                } else {
View Full Code Here


    public void actionPerformed(ActionEvent e) {
      Object o = getValue("CONVERSATION");
      if (o == null || !(o instanceof ConversationID))
        return;
      ConversationID conversation = (ConversationID) o;
      FrameworkModel fm = identity.getFramework().getModel();
      Request request = fm.getRequest(conversation);
      Response response = fm.getResponse(conversation);
      List<NamedValue> reqTokens = identity.getRequestTokens(request);
      List<NamedValue> respTokens = identity.getResponseTokens(response);
View Full Code Here

      return null;
    Iterator<Entry<ConversationID, Transition>> it = events.entrySet().iterator();
    Transition transition = null;
    while (it.hasNext()) {
      Entry<ConversationID, Transition> e = it.next();
      ConversationID cid = e.getKey();
      if (cid.compareTo(id) <= 0) {
        transition = e.getValue();
      } else {
        if (transition == null)
          return null;
        return transition;
View Full Code Here

                _conversationList.clear();
                if (_type != null && _key != null) {
                    ConversationModel cmodel = _model.getConversationModel();
                    int count = cmodel.getConversationCount();
                    for (int i=0; i<count; i++) {
                        ConversationID id = cmodel.getConversationAt(i);
                        String[] fragments = getConversationFragmentKeys(id,  _type);
                        if (fragments != null) {
                            for (int j=0; j<fragments.length; j++) {
                                if (fragments[j].equals(_key)) {
                                    _conversationList.add(id);
View Full Code Here

    public void actionPerformed(ActionEvent e) {
        Object o = getValue("CONVERSATION");
        if (o == null || !(o instanceof ConversationID)) {
            return;
        }
        ConversationID id = (ConversationID) o;

        if (false == Desktop.isDesktopSupported()) {
            _logger.warning("desktop not supported");
            return;
        }
View Full Code Here

    public void actionPerformed(ActionEvent e) {
        Object o = getValue("SAML-RESPONSE");
        if (o == null || !(o instanceof ConversationID)) {
            return;
        }
        ConversationID id = (ConversationID) o;
        this.samlProxy.setReplaySamlResponse(id);
    }
View Full Code Here

    public void actionPerformed(ActionEvent e) {
        Object o = getValue("CONVERSATION");
        if (o == null || !(o instanceof ConversationID)) {
            return;
        }
        ConversationID id = (ConversationID) o;
       
        JFileChooser fileChooser = new JFileChooser();
        fileChooser.setDialogTitle("Export SAML message from conversation " + id);

        int result = fileChooser.showDialog(null, "Export");
View Full Code Here

    public int getColumnCount() {
        return super.getColumnCount()+1;
    }
   
    public Object getValueAt(int row, int column) {
      ConversationID key = getKeyAt(row);
        if (column == 0) return key;
        return super.getValueAt(key, column-1);
    }
View Full Code Here

        if (column == 0) return;
    super.setValueAt(value, row, column-1);
  }

  protected void addedConversation(ConversationEvent evt) {
        ConversationID id = evt.getConversationID();
        int row = indexOfKey(id);
        fireTableRowsInserted(row, row);
    }
View Full Code Here

            Object o = getValue(_where);
            if (_where.equals("URL") && o instanceof HttpUrl) {
                HttpUrl url = (HttpUrl) o;
                fragments = _model.getUrlFragmentKeys(url, _type);
            } else if (_where.equals("CONVERSATION") && o instanceof ConversationID) {
                ConversationID id = (ConversationID) o;
                fragments = _model.getConversationFragmentKeys(id, _type);
            }
            // translate fragment keys into actual fragments
            for (int i=0; i<fragments.length; i++) {
                fragments[i] = _model.getFragment(fragments[i]);
View Full Code Here

TOP

Related Classes of org.owasp.webscarab.model.ConversationID

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.