Examples of MyProxyClient


Examples of edu.indiana.extreme.xbaya.myproxy.MyProxyClient

            boolean loaded = this.myProxyChecker.loadIfNecessary();
            if (!loaded) {
                return;
            }
            // Creates a secure channel in myLEAD.
            MyProxyClient myProxyClient = this.engine.getMyProxyClient();
            GSSCredential proxy = myProxyClient.getProxy();
            this.myLead.setProxy(proxy);
        }

        this.list.setListData(new String[] {
                "Loading the workflow list from myLead.",
View Full Code Here

Examples of edu.indiana.extreme.xbaya.myproxy.MyProxyClient

        wpClient.setEngineURL(this.engine.getConfiguration()
            .getProxyURI());
        wpClient.setXBayaEngine(this.engine);
        GSSCredential proxy = null;
        if (wpClient.isSecure()) {
          MyProxyClient myProxyClient = this.engine
              .getMyProxyClient();
          proxy = myProxyClient.getProxy();
          UserX509Credential credential = new UserX509Credential(
              proxy, XBayaSecurity.getTrustedCertificates());
          wpClient.setUserX509Credential(credential);
        }
        this.engine.getGUI().getGraphCanvas().setNameAndDescription(
View Full Code Here

Examples of edu.indiana.extreme.xbaya.myproxy.MyProxyClient

      boolean loaded = this.myProxyChecker.loadIfNecessary();
      if (!loaded) {
        return;
      }
      // Creates a secure channel in gpel.
      MyProxyClient myProxyClient = this.engine.getMyProxyClient();
      proxy = myProxyClient.getProxy();
      UserX509Credential credential = new UserX509Credential(proxy,
          XBayaSecurity.getTrustedCertificates());
      try {
        client.setUserX509Credential(credential);
      } catch (WorkflowEngineException e) {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.myproxy.MyProxyClient

                boolean loaded = new MyProxyChecker(this.xbayaEngine).loadIfNecessary();
                if (!loaded) {
                    return null;
                }
                // Creates a secure channel in gpel.
                MyProxyClient myProxyClient = this.xbayaEngine.getMyProxyClient();
                GSSCredential proxy = myProxyClient.getProxy();
                UserX509Credential credential = new UserX509Credential(
                        proxy, XBayaSecurity.getTrustedCertificates());
                try {
                    workflowClient.setUserX509Credential(credential);
                } catch (WorkflowEngineException e) {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.myproxy.MyProxyClient

        + "?wsdl"));
    MyProxyChecker myProxyChecker = new MyProxyChecker(engine);
    myProxyChecker.loadIfNecessary();
    GsiInvoker secureInvoker = null;
    if (engine.getWorkflowClient().isSecure()) {
      MyProxyClient myProxyClient = engine.getMyProxyClient();
      secureInvoker = new GsiInvoker(myProxyClient.getProxy(),
          XBayaSecurity.getTrustedCertificates());
     
      leadContext.setScmsUrl(URI.create("https://tyr12.cs.indiana.edu:60443/SCMS?wsdl"));

     
View Full Code Here

Examples of org.apache.airavata.xbaya.myproxy.MyProxyClient

            }

            // create an invoker with LEAD Context
            GsiInvoker secureInvoker = null;
            if (this.engine.getWorkflowClient().isSecure()) {
                MyProxyClient myProxyClient = this.engine.getMyProxyClient();
                secureInvoker = new GsiInvoker(myProxyClient.getProxy(), XBayaSecurity.getTrustedCertificates());

                leadContext.setScmsUrl(URI.create("https://tyr12.cs.indiana.edu:60443/SCMS?wsdl"));

            }
            invoker = new LEADWorkflowInvoker(wsdl, leadContext, messageBoxURL, secureInvoker);
View Full Code Here

Examples of org.apache.airavata.xbaya.myproxy.MyProxyClient

     * @param myproxyServer
     *            eg:portal-dev.leadproject.org
     * @return proxy credential
     */
    public static GSSCredential getGSSCredential(String userName, String password, String myproxyServer) {
        MyProxyClient myProxyClient = new MyProxyClient(myproxyServer, XBayaConstants.DEFAULT_MYPROXY_PORT, userName,
                password, XBayaConstants.DEFAULT_MYPROXY_LIFTTIME);
        try {
            myProxyClient.load();
        } catch (MyProxyException e) {
            throw new WorkflowRuntimeException("Failed loading the myproxy", e);
        }
        GSSCredential gssCredential = myProxyClient.getProxy();
        return gssCredential;
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.myproxy.MyProxyClient

        this.waitDialog.show();
    }

    private void runInThread() {
        try {
            MyProxyClient client = this.engine.getMyProxyClient();
            client.load();
            this.waitDialog.hide();
        } catch (MyProxyException e) {
            if (this.canceled) {
                logger.error(e.getMessage(), e);
            } else {
View Full Code Here

Examples of org.apache.airavata.xbaya.myproxy.MyProxyClient

            boolean loaded = this.myProxyChecker.loadIfNecessary();
            if (!loaded) {
                return;
            }
            // Creates a secure channel in gpel.
            MyProxyClient myProxyClient = this.engine.getMyProxyClient();
            GSSCredential proxy = myProxyClient.getProxy();
            UserX509Credential credential = new UserX509Credential(proxy, XBayaSecurity.getTrustedCertificates());
            try {
                workflowClient.setUserX509Credential(credential);
            } catch (WorkflowEngineException e) {
                this.engine.getGUI().getErrorWindow().error(ErrorMessages.GPEL_ERROR, e);
View Full Code Here

Examples of org.apache.airavata.xbaya.myproxy.MyProxyClient

            }
        }
    }

    private boolean isProxyLoaded() {
        MyProxyClient myProxyClient = this.engine.getMyProxyClient();
        return myProxyClient.isProxyValid();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.