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();
}