public GSSCredential renewProxy() throws XRegistryClientException {
init();
try {
String proxyloc = null;
MyProxy myproxy = new MyProxy(myproxyHostname, myproxyPortNumber);
int lifeHours = myproxyLifeTime * SECS_PER_HOUR;
GSSCredential proxy = myproxy.get(myproxyUserName, myproxyPassword, lifeHours);
GlobusCredential globusCred = null;
if (proxy instanceof GlobusGSSCredentialImpl) {
globusCred = ((GlobusGSSCredentialImpl) proxy).getGlobusCredential();
String uid = myproxyUserName;