Package edu.indiana.extreme.xbaya.security

Examples of edu.indiana.extreme.xbaya.security.UserX509Credential


                this.configuration.getMyProxyUsername(), this.configuration
                .getMyProxyPassphrase(), this.configuration
                .getMyProxyLifetime());
        client.load();
        GSSCredential proxy = client.getProxy();
        UserX509Credential credential = new UserX509Credential(proxy,
                trustedCertificates);
        this.workflowClient = WorkflowEngineManager.getWorkflowClient(XBayaConstants.DEFAULT_GPEL_ENGINE_URL,
                credential);

        this.gpelComponentRegistry = new GPELRegistry(null, WorkflowClient.WorkflowType.TEMPLATE, 100);
View Full Code Here


                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.getErrorWindow().error(ErrorMessages.GPEL_ERROR, e);
View Full Code Here

        GSSCredential proxy = null;

        String trustedcerts = System.getProperty("trustedcerts");
        String certskey = System.getProperty("certskey");

        UserX509Credential credential;
        if (userCred) {
            // Using user credential
            credential = new UserX509Credential(proxy, CertUtil
                    .loadCertificates(trustedcerts));
        } else {
            // Using service certificate.
            credential = new UserX509Credential(certskey, trustedcerts);
        }
        WorkflowClient client = WorkflowEngineManager.getWorkflowClient(engineURL, credential);
        assertNotNull(client);
    }
View Full Code Here

        MyLeadConfiguration myleadConfig = new MyLeadConfiguration(
                this.configuration.getMyLeadAgentURL(), this.configuration
                        .getMyLeadUser(), this.configuration.getMyLeadProject());
        MyLead myLead = new MyLead(myleadConfig, proxy);

        UserX509Credential gpelUserCredential = new UserX509Credential(
                proxy, XBayaSecurity.getTrustedCertificates());
        WorkflowClient gpelClient = WorkflowEngineManager.getWorkflowClient(XBayaConstants.DEFAULT_GPEL_ENGINE_URL, gpelUserCredential);
        gpelClient.setEngineURL(XBayaConstants.DEFAULT_GPEL_ENGINE_URL);

        WorkflowCreator workflowCreator = new WorkflowCreator();
View Full Code Here

                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.getErrorWindow().error(ErrorMessages.GPEL_ERROR, e);
View Full Code Here

        return;
      }
      // Creates a secure channel in gpel.
      MyProxyClient myProxyClient = this.xbayaEngine.getMyProxyClient();
      GSSCredential proxy = myProxyClient.getProxy();
      UserX509Credential credential = new UserX509Credential(proxy,
          XBayaSecurity.getTrustedCertificates());
      try {
        this.setUserX509Credential(credential);
      } catch (WorkflowEngineException e) {
        this.xbayaEngine.getErrorWindow().error(
View Full Code Here

        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.getErrorWindow().error(ErrorMessages.GPEL_ERROR, e);
View Full Code Here

                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.getErrorWindow().error(ErrorMessages.GPEL_ERROR, e);
View Full Code Here

  }

  public void init() {

    try {
      UserX509Credential credential = new UserX509Credential(context
          .getCredentials(), XBayaSecurity.getTrustedCertificates());
     

//      new ODEClient().getInputs(workflow);
      BPELScript bpel = new BPELScript(workflow);
View Full Code Here

      componentPort.setValue(value);
    }

    GSSCredential proxy = SecurityUtil.getGSSCredential(userName,
        password, XBayaConstants.DEFAULT_MYPROXY_SERVER);
    UserX509Credential credential = new UserX509Credential(proxy,
        XBayaSecurity.getTrustedCertificates());

    GPELClient client = new GPELClient(
        XBayaConstants.DEFAULT_GPEL_ENGINE_URL, credential);
    client.deploy(workflow, false);
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.security.UserX509Credential

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.