code: public GSSContext createContext(GSSCredential cred)
  	throws GSSException {
  
  	GlobusGSSCredentialImpl globusCred = null;
  	if (cred == null) {
  	    globusCred = (GlobusGSSCredentialImpl)createCredential(GSSCredential.ACCEPT_ONLY);
  	} else if (cred instanceof GlobusGSSCredentialImpl) {
  	    globusCred = (GlobusGSSCredentialImpl)cred;
  	} else {
  	    throw new GSSException(GSSException.NO_CRED);
  	}
  	// XXX: don't know about the first argument
  	GSSContext ctx = new GlobusGSSContextImpl(null,  globusCred);
  	return ctx;
      }
docs: for acceptors