Examples of MyProxyManager


Examples of org.apache.airavata.core.gfac.context.security.impl.utils.MyProxyManager

            System.out.println(gssCredentails);
            if (gssCredentails == null || gssCredentails.getRemainingLifetime() < 10 * 90) {
                if (proxyRenewer != null) {
                    gssCredentails = proxyRenewer.renewProxy();
                } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
                    this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT,
                            myproxyLifetime, myproxyServer,trustedCertLoc);
                    log.debug("loaded credentails from Proxy server");
                    gssCredentails = this.proxyRenewer.renewProxy();
                }
            }
View Full Code Here

Examples of org.apache.airavata.core.gfac.context.security.impl.utils.MyProxyManager

            System.out.println(gssCredentails);
            if (gssCredentails == null || gssCredentails.getRemainingLifetime() < 10 * 90) {
                if (proxyRenewer != null) {
                    gssCredentails = proxyRenewer.renewProxy();
                } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
                    this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT,
                            myproxyLifetime, myproxyServer,trustedCertLoc);
                    log.info("loaded credentails from Proxy server");
                    gssCredentails = this.proxyRenewer.renewProxy();
                }
            }
View Full Code Here

Examples of org.apache.airavata.gfac.utils.MyProxyManager

        try {
            if (gssCredentails == null || gssCredentails.getRemainingLifetime() < 10 * 90) {
                if (proxyRenewer != null) {
                    gssCredentails = proxyRenewer.renewProxy();
                } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
                    this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT,
                            myproxyLifetime, myproxyServer, trustedCertLoc);
                    log.debug("loaded credentails from Proxy server");
                    gssCredentails = this.proxyRenewer.renewProxy();
                }
            }
View Full Code Here

Examples of org.apache.airavata.gfac.utils.MyProxyManager

        if (gssCredentails == null || gssCredentails.getRemainingLifetime() < 10 * 90) {
            if (proxyRenewer != null) {
//                gssCredentails = proxyRenewer.renewProxy();
                globusCredential = proxyRenewer.getGlobusCredential();
            } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
                this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT,
                        myproxyLifetime, myproxyServer, trustedCertLoc);
                log.debug("loaded credentails from Proxy server");
//                gssCredentails = this.proxyRenewer.renewProxy();
                globusCredential = proxyRenewer.getGlobusCredential();
            }
View Full Code Here

Examples of org.apache.airavata.gfac.utils.MyProxyManager

    public GSISecurityContext(Properties configuration, String token, String gateway, String user) {
        this.tokenId = token;
        this.gatewayId = gateway;
        this.gatewayUser = user;
        myProxyManager = new MyProxyManager(configuration);
    }
View Full Code Here

Examples of org.apache.airavata.gfac.utils.MyProxyManager

        myProxyManager = new MyProxyManager(configuration);
    }

    public GSISecurityContext(Properties configuration) {

        myProxyManager = new MyProxyManager(configuration);
    }
View Full Code Here

Examples of org.apache.airavata.gfac.utils.MyProxyManager

        myProxyManager = new MyProxyManager(configuration);
    }

    public GSISecurityContext(String myProxyServer, String myProxyUserName, String myProxyPassword, int myProxyLifetime, String trustedCertLoc) {

        myProxyManager = new MyProxyManager(myProxyUserName, myProxyPassword,
                myProxyLifetime, myProxyServer, trustedCertLoc);
    }
View Full Code Here

Examples of org.ogce.gfac.context.impl.utils.MyProxyManager

      String lifetime = globalConfiguration.getProperty("myproxyLifetime");
      trustedCertLoc = globalConfiguration.getTrustedCertsFile();
      // Load the Credential configurations
      if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null && lifetime != null) {
        this.myproxyLifetime = Integer.parseInt(lifetime);
        this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT, myproxyLifetime, myproxyServer, trustedCertLoc);
        log.info("loaded credentails from Proxy server");
      } else {
        log.info(myproxyUserName + " " + (myproxyPasswd != null) + " " + myproxyServer + " " + myproxyLifetime);
        this.proxyRenewer = null;
      }
View Full Code Here

Examples of org.ogce.gfac.context.impl.utils.MyProxyManager

      System.out.println(gssCredentails);
      if (gssCredentails == null || gssCredentails.getRemainingLifetime() < 10 * 90) {
        if (proxyRenewer != null) {
          gssCredentails = proxyRenewer.renewProxy();
        } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
          this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT, myproxyLifetime, myproxyServer, trustedCertLoc);
          log.info("loaded credentails from Proxy server");
          gssCredentails = this.proxyRenewer.renewProxy();
        }
      }
      return gssCredentails;
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.