Package org.ogce.gfac.context.impl.utils

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


      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

Related Classes of org.ogce.gfac.context.impl.utils.MyProxyManager

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.