public static GSSCredential createUserCredential(String x509UserProxy)
     throws GlobusCredentialException, GSSException {
   if (x509UserProxy != null) {
     GlobusCredential gcred = new GlobusCredential(x509UserProxy);
     GSSCredential cred = new GlobusGSSCredentialImpl(gcred, GSSCredential.INITIATE_ONLY);
     return cred;
   }
   GlobusCredential gcred = GlobusCredential.getDefaultCredential();
   GSSCredential cred = new GlobusGSSCredentialImpl(gcred, GSSCredential.INITIATE_ONLY);
   return cred;
 }
 public GlobusCredServerNegotiator() throws GlobusCredentialException {
   globusCred = GlobusCredential.getDefaultCredential();
   trustedCerts = CapabilityUtil.getTrustedCertificates(null);
 }