Examples of GsiInvoker


Examples of xsul.invoker.gsi.GsiInvoker

      WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
      WSIFService service = factory.getService(WSDLUtil.appendWSDLQuary(
          url).toString(), null, null, null, null);

      if (SecurityUtil.isSecureService(url)) {
        PuretlsInvoker secureInvoker = new GsiInvoker(proxy,
            XBayaSecurity.getTrustedCertificates());
        Provider secureProvider = new Provider(secureInvoker);
        service.addLocalProvider(secureProvider);
      }
     
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

        "use-lead-header", leadContextHeader);
    WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
    WSIFService service = factory.getService(WSDLUtil
        .appendWSDLQuary(wsdlLoc), null, null, null, null);
    if (this.proxy != null) {
      PuretlsInvoker secureInvoker = new GsiInvoker(proxy, XBayaSecurity
          .getTrustedCertificates());
      Provider secureProvider = new Provider(secureInvoker);
      service.addLocalProvider(secureProvider);
    }
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

      if (monitorConfiguration.isPullMode()) {
        messageBoxURL = monitorConfiguration.getMessageBoxURL();
      }

      // 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"));

       
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

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

        PuretlsInvoker secureInvoker;
        if (userCred) {
            // Using user credential
            secureInvoker = new GsiInvoker(proxy, CertUtil
                    .loadCertificates(trustedcerts));
        } else {
            // Using service certificate.
            secureInvoker = new PuretlsInvoker(certskey, "", trustedcerts);
        }
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

    ODEClient odeClient = new ODEClient();
    GSSCredential credential = SecurityUtil.getGSSCredential("chathura", "changeme", XBayaConstants.DEFAULT_MYPROXY_SERVER);
    XRegistryAccesser xregistryAccesser = new XRegistryAccesser(credential, XBayaConstants.DEFAULT_XREGISTRY_URL);
    Workflow workflow = xregistryAccesser.getWorkflow(name);
   
    GsiInvoker secureInvoker = null;
    secureInvoker = new GsiInvoker(credential, XBayaSecurity
        .getTrustedCertificates());

    try {
      LeadContextHeader defaultLeadHeader = odeClient.getDefaultLeadHeader(workflow, topic,
          credential.getName().toString(), new URI(topic), null, null);
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

            MyProxyClient myProxyClient = this.engine.getMyProxyClient();
            proxy = myProxyClient.getProxy();
          } else {
            proxy = SecurityUtil.getGSSCredential(this.username, this.password, this.configuration.getMyProxyServer());
          }
          GsiInvoker secureInvoker = new GsiInvoker(proxy, XBayaSecurity.getTrustedCertificates());
          LeadContextHeader leadCtxHeader = null;
          try {
            // leadCtxHeader = WSDLUtil.buildLeadContextHeader(
            // this.workflow, engine.getConfiguration(),
            // this.engine.getMyLead(), engine.getMonitor()
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

    try {

      URI messageBoxURL = XBayaConstants.DEFAULT_MESSAGE_BOX_URL;

      // create an invoker with LEAD Context
      GsiInvoker secureInvoker = new GsiInvoker(this.context.getCredentials(), XBayaSecurity
          .getTrustedCertificates());

      invoker = new LEADWorkflowInvoker(this.wsdl, context.getHeader(),
          messageBoxURL, secureInvoker);
    } catch (Exception e) {
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

          componentPort.setValue(parseValue(componentPort, (String)componentPort.getValue()));
        }

      }

      GsiInvoker secureInvoker = null;
      secureInvoker = new GsiInvoker(credentials,
          XBayaSecurity.getTrustedCertificates());

      LEADWorkflowInvoker invoker = new LEADWorkflowInvoker(wsdl,
          leadContext, null, secureInvoker);
      invoker.setInputs(inputs);
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

            if (monitorConfiguration.isPullMode()) {
                messageBoxURL = monitorConfiguration.getMessageBoxURL();
            }

            // 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());
            }
            invoker = new LEADWorkflowInvoker(wsdl, leadContext, messageBoxURL,
                    secureInvoker);
        } catch (ComponentException e) {
View Full Code Here

Examples of xsul.invoker.gsi.GsiInvoker

      }

      URI messageBoxURL = XBayaConstants.DEFAULT_MESSAGE_BOX_URL;

      // create an invoker with LEAD Context
      GsiInvoker secureInvoker = new GsiInvoker(proxy, XBayaSecurity
          .getTrustedCertificates());

      invoker = new LEADWorkflowInvoker(wsdl, leadContextHeader,
          messageBoxURL, secureInvoker);
    } catch (Exception e) {
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.