Remove auth token based REST API support

This never turned into a real implementation. Drop it and
look at other ways to do authentication.

Change-Id: I404c834e5e9d0d61248d28471785d825c136f3ad
This commit is contained in:
Shawn O. Pearce
2012-11-12 12:38:15 -08:00
parent f8836d734f
commit bf7fbd62bf
6 changed files with 2 additions and 445 deletions

View File

@@ -22,7 +22,6 @@ import com.google.gerrit.httpd.CacheBasedWebSession;
import com.google.gerrit.httpd.GitOverHttpModule;
import com.google.gerrit.httpd.HttpCanonicalWebUrlProvider;
import com.google.gerrit.httpd.RequestContextFilter;
import com.google.gerrit.httpd.SignedTokenRestTokenVerifier;
import com.google.gerrit.httpd.WebModule;
import com.google.gerrit.httpd.WebSshGlueModule;
import com.google.gerrit.httpd.auth.openid.OpenIdModule;
@@ -295,7 +294,6 @@ public class Daemon extends SiteProgram {
modules.add(new DefaultCacheFactory.Module());
modules.add(new SmtpEmailSender.Module());
modules.add(new SignedTokenEmailTokenVerifier.Module());
modules.add(new SignedTokenRestTokenVerifier.Module());
modules.add(new PluginModule());
if (httpd) {
modules.add(new CanonicalWebUrlModule() {