Examples of GSSCredential


Examples of org.ietf.jgss.GSSCredential

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

Examples of org.ietf.jgss.GSSCredential

      final WSNode wsNode = (WSNode) node;
      String wsdlLocation = this.getEPR(wsNode);
      final String gfacURLString = this.configuration.getGFacURL().toString();
      if (null == wsdlLocation) {
        if (gfacURLString.startsWith("https")) {
          GSSCredential proxy = null;
          if (this.mode == GUI_MODE) {
            this.myProxyChecker.loadIfNecessary();
            MyProxyClient myProxyClient = this.engine.getMyProxyClient();
            proxy = myProxyClient.getProxy();
          } else {
View Full Code Here

Examples of org.ietf.jgss.GSSCredential

      String input = iterator.next();
      String wsdlLocation = getEPR(foreachWSNode);
      final String gfacURLString = this.engine.getConfiguration().getGFacURL().toString();
      if (null == wsdlLocation) {
        if (gfacURLString.startsWith("https")) {
          GSSCredential proxy = null;
          if (this.mode == GUI_MODE) {
            this.myProxyChecker.loadIfNecessary();
            MyProxyClient myProxyClient = this.engine.getMyProxyClient();
            proxy = myProxyClient.getProxy();
          } else {
View Full Code Here

Examples of org.ietf.jgss.GSSCredential

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

Examples of org.ietf.jgss.GSSCredential

   

    String userName = "chathura";
    String password = "changeme";
    ODEClient client = new ODEClient();
    GSSCredential credential = SecurityUtil.getGSSCredential(userName, password,
        XBayaConstants.DEFAULT_MYPROXY_SERVER);

//    Workflow workflow1 = client.getWorkflowFromOGCE(new URI(
//        "https://ogceportal.iu.teragrid.org:19443/xregistry"),
//        credential, new QName("Public_NAM_Initialized_WRF_Forecastc55d6223-7f79-4c07-824c-804c6b12782d"));
View Full Code Here

Examples of org.ietf.jgss.GSSCredential

      if (!loaded) {
        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) {
View Full Code Here

Examples of org.ietf.jgss.GSSCredential

    try {
      myProxyClient.load();
    } catch (MyProxyException e) {
      throw new XBayaRuntimeException("Failed loading the myproxy", e);
    }
    GSSCredential gssCredential = myProxyClient.getProxy();
    return gssCredential;
  }
View Full Code Here

Examples of org.ietf.jgss.GSSCredential

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

Examples of org.ietf.jgss.GSSCredential

                    if (i > 0) {
                        // Zero so we don;t leave a zero length name
                        name = name.substring(0, i);
                    }
                }
                GSSCredential gssCredential = null;
                if (storeCred && gssContext.getCredDelegState()) {
                    try {
                        gssCredential = gssContext.getDelegCred();
                    } catch (GSSException e) {
                        if (log.isDebugEnabled()) {
View Full Code Here

Examples of org.ietf.jgss.GSSCredential

        return;
      }
      componentPort.setValue(value);
    }

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

    GPELClient client = new GPELClient(
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.