}
int vomsProxyType = decideVomsProxyType( globusCred.getProxyType() );
VOMSServerInfo info = getVOMSServerInfo();
VOMSProxyInit proxyInit = VOMSProxyInit.instance( globusCred );
proxyInit.setProxyType(vomsProxyType);
proxyInit.setProxyOutputFile(null);
proxyInit.setProxyLifetime( this.certificateValidity );
proxyInit.addVomsServer( info );
GlobusCredential tmpCred = null;
try {
List<VOMSRequestOptions> options = getVOMSRequestOptions();
log.debug("getVomsProxy");
tmpCred = proxyInit.getVomsProxy( options );
} catch (VOMSException e) {
throw new Exception(e.getMessage(), e);
}
GSSCredential vomsCredential = null;
vomsCredential = new GlobusGSSCredentialImpl(tmpCred,