use of com.google.gerrit.server.config.AuthConfigModule in project gerrit by GerritCodeReview.
the class Daemon method createCfgInjector.
private Injector createCfgInjector() {
final List<Module> modules = new ArrayList<>();
modules.add(new AuthConfigModule());
return dbInjector.createChildInjector(modules);
}
use of com.google.gerrit.server.config.AuthConfigModule in project gerrit by GerritCodeReview.
the class WebAppInitializer method createCfgInjector.
private Injector createCfgInjector() {
final List<Module> modules = new ArrayList<>();
modules.add(new SchemaModule());
modules.add(SchemaVersionCheck.module());
modules.add(new AuthConfigModule());
return dbInjector.createChildInjector(modules);
}
use of com.google.gerrit.server.config.AuthConfigModule in project gerrit by GerritCodeReview.
the class WebAppInitializer method createDbInjector.
private Injector createDbInjector() {
final List<Module> modules = new ArrayList<>();
modules.add(new SchemaModule());
modules.add(NoteDbSchemaVersionCheck.module());
modules.add(new AuthConfigModule());
return cfgInjector.createChildInjector(ModuleOverloader.override(modules, LibModuleLoader.loadModules(cfgInjector, LibModuleType.DB_MODULE_TYPE)));
}
Aggregations