Search in sources :

Example 1 with AuthFilter

use of io.dropwizard.auth.AuthFilter in project liftwizard by motlin.

the class AuthFilterBundle method runWithMdc.

@Override
public void runWithMdc(@Nonnull Object configuration, @Nonnull Environment environment) {
    AuthFilterFactoryProvider authFilterFactoryProvider = this.safeCastConfiguration(AuthFilterFactoryProvider.class, configuration);
    List<AuthFilterFactory> authFilterFactories = authFilterFactoryProvider.getAuthFilterFactories();
    List<AuthFilter<?, ? extends Principal>> authFilters = this.getAuthFilters(authFilterFactories);
    if (authFilters.isEmpty()) {
        LOGGER.warn("{} disabled.", this.getClass().getSimpleName());
        return;
    }
    List<String> authFilterNames = authFilters.stream().map(Object::getClass).map(Class::getSimpleName).collect(Collectors.toList());
    LOGGER.info("Running {} with auth filters {}.", this.getClass().getSimpleName(), authFilterNames);
    environment.jersey().register(this.getAuthDynamicFeature(authFilters));
    environment.jersey().register(RolesAllowedDynamicFeature.class);
    environment.jersey().register(new Binder<>(Principal.class));
    Filter clearMDCFilter = this.getClearMDCFilter(authFilterFactories);
    FilterHolder filterHolder = new FilterHolder(clearMDCFilter);
    EnumSet<DispatcherType> dispatcherTypes = EnumSet.of(DispatcherType.REQUEST);
    environment.getApplicationContext().addFilter(filterHolder, "/*", dispatcherTypes);
    LOGGER.info("Completing {}.", this.getClass().getSimpleName());
}
Also used : FilterHolder(org.eclipse.jetty.servlet.FilterHolder) AuthFilterFactory(io.liftwizard.dropwizard.configuration.auth.filter.AuthFilterFactory) AuthFilter(io.dropwizard.auth.AuthFilter) ChainedAuthFilter(io.dropwizard.auth.chained.ChainedAuthFilter) AuthFilterFactoryProvider(io.liftwizard.dropwizard.configuration.auth.filter.AuthFilterFactoryProvider) AuthFilter(io.dropwizard.auth.AuthFilter) ClearMDCKeysFilter(io.liftwizard.servlet.filter.mdc.keys.ClearMDCKeysFilter) Filter(javax.servlet.Filter) ChainedAuthFilter(io.dropwizard.auth.chained.ChainedAuthFilter) DispatcherType(javax.servlet.DispatcherType) Principal(java.security.Principal)

Example 2 with AuthFilter

use of io.dropwizard.auth.AuthFilter in project fallout by datastax.

the class FalloutServiceBase method getAuthFilters.

private List<AuthFilter<String, User>> getAuthFilters(FC conf, UserDAO userDAO) {
    List<AuthFilter<String, User>> filters = new ArrayList<>();
    // This will only be applied to methods/classes annotated with RolesAllowed
    final Authorizer<User> adminAuthorizer = (user, role) -> user.isAdmin() && role.equals("ADMIN");
    AuthFilter<String, User> oauthCredentialAuthFilter = new OAuthCredentialAuthFilter.Builder<User>().setAuthenticator(new FalloutTokenAuthenticator(userDAO, OAUTH_REALM)).setAuthorizer(adminAuthorizer).setPrefix(OAUTH_BEARER_TOKEN_TYPE).setRealm(OAUTH_REALM).buildAuthFilter();
    filters.add(oauthCredentialAuthFilter);
    AuthFilter<String, User> uiAuthFilter;
    if (conf.getAuthenticationMode() == FalloutConfiguration.AuthenticationMode.SINGLE_USER) {
        if (conf.getAdminUserCreds().isEmpty()) {
            throw new RuntimeException(String.format("Cannot use %s authentication mode without specifying %s in the environment", FalloutConfiguration.AuthenticationMode.SINGLE_USER, FalloutConfiguration.ADMIN_CREDS_ENV_VAR));
        }
        uiAuthFilter = new SingleUserAuthFilter(() -> userDAO.getUser(conf.getAdminUserCreds().get().email()));
    } else {
        uiAuthFilter = new FalloutCookieAuthFilter.Builder().setAuthenticator(new FalloutTokenAuthenticator(userDAO, COOKIE_NAME)).setAuthorizer(adminAuthorizer).setPrefix(OAUTH_BEARER_TOKEN_TYPE).setRealm(OAUTH_REALM).buildAuthFilter();
    }
    filters.add(uiAuthFilter);
    return filters;
}
Also used : RewriteHandler(org.eclipse.jetty.rewrite.handler.RewriteHandler) SwaggerBundleConfiguration(io.federecio.dropwizard.swagger.SwaggerBundleConfiguration) JacksonUtils(com.datastax.fallout.util.JacksonUtils) AuthValueFactoryProvider(io.dropwizard.auth.AuthValueFactoryProvider) Map(java.util.Map) RolesAllowedDynamicFeature(org.glassfish.jersey.server.filter.RolesAllowedDynamicFeature) AbortableRunnableExecutorFactory(com.datastax.fallout.runner.AbortableRunnableExecutorFactory) QueuingTestRunner(com.datastax.fallout.runner.QueuingTestRunner) Path(java.nio.file.Path) ResourceReservationLocks(com.datastax.fallout.runner.ResourceReservationLocks) EnumSet(java.util.EnumSet) Duration(com.datastax.fallout.util.Duration) LocalCommandExecutor(com.datastax.fallout.ops.commands.LocalCommandExecutor) MainView(com.datastax.fallout.service.views.MainView) RewriteRegexRule(org.eclipse.jetty.rewrite.handler.RewriteRegexRule) LocalizationMessages(org.glassfish.jersey.server.internal.LocalizationMessages) NginxArtifactServlet(com.datastax.fallout.service.artifacts.NginxArtifactServlet) Verify(com.google.common.base.Verify) SingleUserAuthFilter(com.datastax.fallout.service.auth.SingleUserAuthFilter) Servlet(javax.servlet.Servlet) UserCredentials(com.datastax.fallout.runner.UserCredentialsFactory.UserCredentials) Set(java.util.Set) ScopedLogger(com.datastax.fallout.util.ScopedLogger) DefaultServerFactory(io.dropwizard.server.DefaultServerFactory) RunnableExecutorFactory(com.datastax.fallout.runner.RunnableExecutorFactory) FalloutTokenAuthenticator(com.datastax.fallout.service.auth.FalloutTokenAuthenticator) HtmlMailUserMessenger(com.datastax.fallout.util.HtmlMailUserMessenger) CheckCommand(io.dropwizard.cli.CheckCommand) FalloutExecCommand(com.datastax.fallout.service.cli.FalloutExecCommand) CommonProperties(org.glassfish.jersey.CommonProperties) User(com.datastax.fallout.service.core.User) FreemarkerViewRenderer(io.dropwizard.views.freemarker.FreemarkerViewRenderer) Bootstrap(io.dropwizard.setup.Bootstrap) ComponentFactory(com.datastax.fallout.util.component_discovery.ComponentFactory) ServerSentEvents(com.datastax.fallout.service.resources.ServerSentEvents) Exceptions(com.datastax.fallout.util.Exceptions) LiveResource(com.datastax.fallout.service.resources.server.LiveResource) TestResource(com.datastax.fallout.service.resources.server.TestResource) Supplier(java.util.function.Supplier) ViewBundle(io.dropwizard.views.ViewBundle) FalloutVersion(com.datastax.fallout.FalloutVersion) ArrayList(java.util.ArrayList) QueueMetricsManager(com.datastax.fallout.service.db.QueueMetricsManager) HttpConnectorFactory(io.dropwizard.jetty.HttpConnectorFactory) ClojureShutdown(com.datastax.fallout.harness.ClojureShutdown) DelegatingExecutorFactory(com.datastax.fallout.runner.DelegatingExecutorFactory) Environment(io.dropwizard.setup.Environment) UserGroupMapper(com.datastax.fallout.service.db.UserGroupMapper) ArtifactScrubber(com.datastax.fallout.service.artifacts.ArtifactScrubber) ReadOnlyTestRun(com.datastax.fallout.service.core.ReadOnlyTestRun) AccountResource(com.datastax.fallout.service.resources.server.AccountResource) CassandraDriverManager(com.datastax.fallout.service.db.CassandraDriverManager) Paths(java.nio.file.Paths) ForkJoinPool(java.util.concurrent.ForkJoinPool) RunnerResource(com.datastax.fallout.service.resources.runner.RunnerResource) UserMessenger(com.datastax.fallout.util.UserMessenger) PersistentPendingQueue(com.datastax.fallout.runner.queue.PersistentPendingQueue) SecurityUtil(com.datastax.fallout.service.auth.SecurityUtil) HomeResource(com.datastax.fallout.service.resources.server.HomeResource) FinishedTestRunUserNotifier(com.datastax.fallout.util.FinishedTestRunUserNotifier) TestRun(com.datastax.fallout.service.core.TestRun) IllegalStateExceptionMapper(io.dropwizard.jersey.errors.IllegalStateExceptionMapper) RedirectRegexRule(org.eclipse.jetty.rewrite.handler.RedirectRegexRule) Ensemble(com.datastax.fallout.ops.Ensemble) URI(java.net.URI) ComponentResource(com.datastax.fallout.service.resources.server.ComponentResource) PerformanceReportDAO(com.datastax.fallout.service.db.PerformanceReportDAO) Authorizer(io.dropwizard.auth.Authorizer) UserDAO(com.datastax.fallout.service.db.UserDAO) Application(io.dropwizard.Application) Cassandra(com.datastax.fallout.service.cli.Cassandra) FalloutStandaloneCommand(com.datastax.fallout.service.cli.FalloutStandaloneCommand) FalloutCookieAuthFilter(com.datastax.fallout.service.auth.FalloutCookieAuthFilter) SwaggerBundle(io.federecio.dropwizard.swagger.SwaggerBundle) ArtifactUsageAdminTask(com.datastax.fallout.service.artifacts.ArtifactUsageAdminTask) ThreadedRunnableExecutorFactory(com.datastax.fallout.runner.ThreadedRunnableExecutorFactory) MustacheViewRendererWithoutTemplatingErrors(com.datastax.fallout.util.MustacheViewRendererWithoutTemplatingErrors) AssetsBundle(io.dropwizard.assets.AssetsBundle) List(java.util.List) AuthFilter(io.dropwizard.auth.AuthFilter) TestDAO(com.datastax.fallout.service.db.TestDAO) Response(javax.ws.rs.core.Response) NamedThreadFactory(com.datastax.fallout.util.NamedThreadFactory) Managed(io.dropwizard.lifecycle.Managed) HashedWheelTimer(io.netty.util.HashedWheelTimer) Optional(java.util.Optional) ChainedAuthFilter(io.dropwizard.auth.chained.ChainedAuthFilter) ArtifactCompressorAdminTask(com.datastax.fallout.service.artifacts.ArtifactCompressorAdminTask) OAuthCredentialAuthFilter(io.dropwizard.auth.oauth.OAuthCredentialAuthFilter) GenerateNginxConf(com.datastax.fallout.service.cli.GenerateNginxConf) ServerMode(com.datastax.fallout.service.FalloutConfiguration.ServerMode) ServletRegistration(javax.servlet.ServletRegistration) CommandExecutor(com.datastax.fallout.ops.commands.CommandExecutor) Client(javax.ws.rs.client.Client) AuthDynamicFeature(io.dropwizard.auth.AuthDynamicFeature) CompletableFuture(java.util.concurrent.CompletableFuture) Function(java.util.function.Function) SchemaMode(com.datastax.fallout.service.db.CassandraDriverManager.SchemaMode) ActiveTestRun(com.datastax.fallout.harness.ActiveTestRun) FalloutQueueCommand(com.datastax.fallout.service.cli.FalloutQueueCommand) ArtifactCompressor(com.datastax.fallout.service.artifacts.ArtifactCompressor) ActiveTestRunFactory(com.datastax.fallout.runner.ActiveTestRunFactory) IntSupplier(java.util.function.IntSupplier) CrossOriginFilter(org.eclipse.jetty.servlets.CrossOriginFilter) FalloutRunnerCommand(com.datastax.fallout.service.cli.FalloutRunnerCommand) FileUtils(com.datastax.fallout.util.FileUtils) SlackUserMessenger(com.datastax.fallout.util.SlackUserMessenger) AdminResource(com.datastax.fallout.service.resources.server.AdminResource) ReentrantLock(java.util.concurrent.locks.ReentrantLock) JettyArtifactServlet(com.datastax.fallout.service.artifacts.JettyArtifactServlet) TestRunReaper(com.datastax.fallout.service.core.TestRunReaper) DelegatingRunnableExecutorFactory(com.datastax.fallout.runner.DelegatingRunnableExecutorFactory) ObjectMapper(com.fasterxml.jackson.databind.ObjectMapper) UserCredentialsFactory(com.datastax.fallout.runner.UserCredentialsFactory) TestRunStatusUpdatePublisher(com.datastax.fallout.harness.TestRunStatusUpdatePublisher) AutoCloseableManager(io.dropwizard.lifecycle.AutoCloseableManager) DirectTestRunner(com.datastax.fallout.runner.DirectTestRunner) Consumer(java.util.function.Consumer) ArtifactWatcher(com.datastax.fallout.service.artifacts.ArtifactWatcher) TestRunDAO(com.datastax.fallout.service.db.TestRunDAO) JobLoggersFactory(com.datastax.fallout.runner.JobLoggersFactory) StatusResource(com.datastax.fallout.service.resources.server.StatusResource) DispatcherType(javax.servlet.DispatcherType) PerformanceToolResource(com.datastax.fallout.service.resources.server.PerformanceToolResource) WebTarget(javax.ws.rs.client.WebTarget) VisibleForTesting(com.google.common.annotations.VisibleForTesting) FalloutValidateCommand(com.datastax.fallout.service.cli.FalloutValidateCommand) User(com.datastax.fallout.service.core.User) FalloutTokenAuthenticator(com.datastax.fallout.service.auth.FalloutTokenAuthenticator) SingleUserAuthFilter(com.datastax.fallout.service.auth.SingleUserAuthFilter) ArrayList(java.util.ArrayList) SingleUserAuthFilter(com.datastax.fallout.service.auth.SingleUserAuthFilter) FalloutCookieAuthFilter(com.datastax.fallout.service.auth.FalloutCookieAuthFilter) AuthFilter(io.dropwizard.auth.AuthFilter) ChainedAuthFilter(io.dropwizard.auth.chained.ChainedAuthFilter) OAuthCredentialAuthFilter(io.dropwizard.auth.oauth.OAuthCredentialAuthFilter) OAuthCredentialAuthFilter(io.dropwizard.auth.oauth.OAuthCredentialAuthFilter)

Example 3 with AuthFilter

use of io.dropwizard.auth.AuthFilter in project consent by DataBiosphere.

the class ConsentApplication method run.

@Override
public void run(ConsentConfiguration config, Environment env) {
    try {
        initializeLiquibase(config);
    } catch (LiquibaseException | SQLException e) {
        LOGGER.error("Exception initializing liquibase: " + e);
    }
    // TODO: Update all services to use an injector.
    // Previously, this code was working around a dropwizard+Guice issue with singletons and JDBI.
    final Injector injector = Guice.createInjector(new ConsentModule(config, env));
    // Clients
    final HttpClientUtil clientUtil = new HttpClientUtil();
    final GCSStore googleStore = injector.getProvider(GCSStore.class).get();
    // Services
    final ApprovalExpirationTimeService approvalExpirationTimeService = injector.getProvider(ApprovalExpirationTimeService.class).get();
    final ConsentService consentService = injector.getProvider(ConsentService.class).get();
    final DarCollectionService darCollectionService = injector.getProvider(DarCollectionService.class).get();
    final DacService dacService = injector.getProvider(DacService.class).get();
    final DataAccessRequestService dataAccessRequestService = injector.getProvider(DataAccessRequestService.class).get();
    final DatasetAssociationService datasetAssociationService = injector.getProvider(DatasetAssociationService.class).get();
    final DatasetService datasetService = injector.getProvider(DatasetService.class).get();
    final ElectionService electionService = injector.getProvider(ElectionService.class).get();
    final EmailNotifierService emailNotifierService = injector.getProvider(EmailNotifierService.class).get();
    final GCSService gcsService = injector.getProvider(GCSService.class).get();
    final InstitutionService institutionService = injector.getProvider(InstitutionService.class).get();
    final MetricsService metricsService = injector.getProvider(MetricsService.class).get();
    final PendingCaseService pendingCaseService = injector.getProvider(PendingCaseService.class).get();
    final UserService userService = injector.getProvider(UserService.class).get();
    final VoteService voteService = injector.getProvider(VoteService.class).get();
    final AuditService auditService = injector.getProvider(AuditService.class).get();
    final SummaryService summaryService = injector.getProvider(SummaryService.class).get();
    final ReviewResultsService reviewResultsService = injector.getProvider(ReviewResultsService.class).get();
    final UseRestrictionValidator useRestrictionValidator = injector.getProvider(UseRestrictionValidator.class).get();
    final MatchService matchService = injector.getProvider(MatchService.class).get();
    final OAuthAuthenticator authenticator = injector.getProvider(OAuthAuthenticator.class).get();
    final LibraryCardService libraryCardService = injector.getProvider(LibraryCardService.class).get();
    final SamService samService = injector.getProvider(SamService.class).get();
    System.setProperty("sun.net.http.allowRestrictedHeaders", "true");
    configureCors(env);
    // Health Checks
    env.healthChecks().register(GCS_CHECK, new GCSHealthCheck(gcsService));
    env.healthChecks().register(ES_CHECK, new ElasticSearchHealthCheck(config.getElasticSearchConfiguration()));
    env.healthChecks().register(ONTOLOGY_CHECK, new OntologyHealthCheck(clientUtil, config.getServicesConfiguration()));
    env.healthChecks().register(SAM_CHECK, new SamHealthCheck(clientUtil, config.getServicesConfiguration()));
    env.healthChecks().register(SG_CHECK, new SendGridHealthCheck(clientUtil, config.getMailConfiguration()));
    final StoreOntologyService storeOntologyService = new StoreOntologyService(googleStore, config.getStoreOntologyConfiguration().getBucketSubdirectory(), config.getStoreOntologyConfiguration().getConfigurationFileName());
    final ResearcherService researcherService = injector.getProvider(ResearcherService.class).get();
    final NihService nihService = injector.getProvider(NihService.class).get();
    final IndexOntologyService indexOntologyService = new IndexOntologyService(config.getElasticSearchConfiguration());
    final IndexerService indexerService = new IndexerServiceImpl(storeOntologyService, indexOntologyService);
    // Custom Error handling. Expand to include other codes when necessary
    final ErrorPageErrorHandler errorHandler = new ErrorPageErrorHandler();
    errorHandler.addErrorPage(404, "/error/404");
    env.getApplicationContext().setErrorHandler(errorHandler);
    env.jersey().register(ResponseServerFilter.class);
    env.jersey().register(ErrorResource.class);
    // Register standard application resources.
    env.jersey().register(new ApprovalExpirationTimeResource(approvalExpirationTimeService, userService));
    env.jersey().register(new DataAccessRequestResourceVersion2(dataAccessRequestService, emailNotifierService, gcsService, userService, matchService));
    env.jersey().register(new DataAccessRequestResource(dataAccessRequestService, userService, consentService, electionService));
    env.jersey().register(new DatasetResource(consentService, datasetService, userService, dataAccessRequestService));
    env.jersey().register(new DatasetAssociationsResource(datasetAssociationService));
    env.jersey().register(new ConsentResource(auditService, userService, consentService, matchService, useRestrictionValidator));
    env.jersey().register(new ConsentAssociationResource(consentService, userService));
    env.jersey().register(new ConsentElectionResource(consentService, dacService, emailNotifierService, voteService, electionService));
    env.jersey().register(new ConsentManageResource(consentService));
    env.jersey().register(new ConsentVoteResource(emailNotifierService, electionService, voteService));
    env.jersey().register(new ConsentCasesResource(electionService, pendingCaseService, summaryService));
    env.jersey().register(new DacResource(dacService, userService));
    env.jersey().register(new DACUserResource(userService));
    env.jersey().register(new DarCollectionResource(dataAccessRequestService, darCollectionService, userService));
    env.jersey().register(new DataRequestElectionResource(dataAccessRequestService, emailNotifierService, summaryService, voteService, electionService));
    env.jersey().register(new DataRequestVoteResource(dataAccessRequestService, datasetAssociationService, emailNotifierService, voteService, datasetService, electionService, userService));
    env.jersey().register(new DataRequestCasesResource(electionService, pendingCaseService, summaryService));
    env.jersey().register(new DataRequestReportsResource(dataAccessRequestService));
    env.jersey().register(new DataUseLetterResource(auditService, googleStore, userService, consentService));
    env.jersey().register(new ElectionResource(voteService, electionService));
    env.jersey().register(new ElectionReviewResource(dataAccessRequestService, consentService, electionService, reviewResultsService));
    env.jersey().register(new EmailNotifierResource(emailNotifierService));
    env.jersey().register(new IndexerResource(indexerService, googleStore));
    env.jersey().register(new InstitutionResource(userService, institutionService));
    env.jersey().register(new LibraryCardResource(userService, libraryCardService));
    env.jersey().register(new MatchResource(matchService));
    env.jersey().register(new MetricsResource(metricsService));
    env.jersey().register(new NihAccountResource(nihService, userService));
    env.jersey().register(new ResearcherResource(researcherService));
    env.jersey().register(new SamResource(samService));
    env.jersey().register(new SwaggerResource(config.getGoogleAuthentication()));
    env.jersey().register(new StatusResource(env.healthChecks()));
    env.jersey().register(new UserResource(researcherService, samService, userService));
    env.jersey().register(new TosResource(samService));
    env.jersey().register(injector.getInstance(VersionResource.class));
    env.jersey().register(new VoteResource(userService, voteService));
    // Authentication filters
    final UserRoleDAO userRoleDAO = injector.getProvider(UserRoleDAO.class).get();
    AuthFilter defaultAuthFilter = new DefaultAuthFilter.Builder<AuthUser>().setAuthenticator(new DefaultAuthenticator()).setRealm(" ").buildAuthFilter();
    List<AuthFilter> filters = Lists.newArrayList(defaultAuthFilter, new BasicCustomAuthFilter(new BasicAuthenticator(config.getBasicAuthentication())), new OAuthCustomAuthFilter(authenticator, userRoleDAO));
    env.jersey().register(new AuthDynamicFeature(new ChainedAuthFilter(filters)));
    env.jersey().register(RolesAllowedDynamicFeature.class);
    env.jersey().register(new AuthValueFactoryProvider.Binder<>(AuthUser.class));
}
Also used : ApprovalExpirationTimeResource(org.broadinstitute.consent.http.resources.ApprovalExpirationTimeResource) UseRestrictionValidator(org.broadinstitute.consent.http.service.UseRestrictionValidator) ConsentElectionResource(org.broadinstitute.consent.http.resources.ConsentElectionResource) DacResource(org.broadinstitute.consent.http.resources.DacResource) NihAccountResource(org.broadinstitute.consent.http.resources.NihAccountResource) DataRequestCasesResource(org.broadinstitute.consent.http.resources.DataRequestCasesResource) ConsentService(org.broadinstitute.consent.http.service.ConsentService) VersionResource(org.broadinstitute.consent.http.resources.VersionResource) AuthValueFactoryProvider(io.dropwizard.auth.AuthValueFactoryProvider) DatasetService(org.broadinstitute.consent.http.service.DatasetService) DefaultAuthFilter(org.broadinstitute.consent.http.authentication.DefaultAuthFilter) BasicCustomAuthFilter(org.broadinstitute.consent.http.authentication.BasicCustomAuthFilter) OAuthCustomAuthFilter(org.broadinstitute.consent.http.authentication.OAuthCustomAuthFilter) AuthFilter(io.dropwizard.auth.AuthFilter) ChainedAuthFilter(io.dropwizard.auth.chained.ChainedAuthFilter) AuthUser(org.broadinstitute.consent.http.models.AuthUser) IndexerService(org.broadinstitute.consent.http.service.ontology.IndexerService) ConsentVoteResource(org.broadinstitute.consent.http.resources.ConsentVoteResource) LibraryCardService(org.broadinstitute.consent.http.service.LibraryCardService) ElasticSearchHealthCheck(org.broadinstitute.consent.http.health.ElasticSearchHealthCheck) BasicAuthenticator(org.broadinstitute.consent.http.authentication.BasicAuthenticator) PendingCaseService(org.broadinstitute.consent.http.service.PendingCaseService) ChainedAuthFilter(io.dropwizard.auth.chained.ChainedAuthFilter) Injector(com.google.inject.Injector) DatasetAssociationsResource(org.broadinstitute.consent.http.resources.DatasetAssociationsResource) DataRequestElectionResource(org.broadinstitute.consent.http.resources.DataRequestElectionResource) MatchService(org.broadinstitute.consent.http.service.MatchService) ResearcherResource(org.broadinstitute.consent.http.resources.ResearcherResource) ConsentVoteResource(org.broadinstitute.consent.http.resources.ConsentVoteResource) VoteResource(org.broadinstitute.consent.http.resources.VoteResource) DataRequestVoteResource(org.broadinstitute.consent.http.resources.DataRequestVoteResource) AuthDynamicFeature(io.dropwizard.auth.AuthDynamicFeature) AuditService(org.broadinstitute.consent.http.service.AuditService) DataUseLetterResource(org.broadinstitute.consent.http.resources.DataUseLetterResource) DarCollectionResource(org.broadinstitute.consent.http.resources.DarCollectionResource) MetricsResource(org.broadinstitute.consent.http.resources.MetricsResource) DarCollectionService(org.broadinstitute.consent.http.service.DarCollectionService) BasicCustomAuthFilter(org.broadinstitute.consent.http.authentication.BasicCustomAuthFilter) UserResource(org.broadinstitute.consent.http.resources.UserResource) DACUserResource(org.broadinstitute.consent.http.resources.DACUserResource) ConsentResource(org.broadinstitute.consent.http.resources.ConsentResource) StoreOntologyService(org.broadinstitute.consent.http.service.ontology.StoreOntologyService) ConsentAssociationResource(org.broadinstitute.consent.http.resources.ConsentAssociationResource) UserRoleDAO(org.broadinstitute.consent.http.db.UserRoleDAO) DataAccessRequestResourceVersion2(org.broadinstitute.consent.http.resources.DataAccessRequestResourceVersion2) LibraryCardResource(org.broadinstitute.consent.http.resources.LibraryCardResource) GCSStore(org.broadinstitute.consent.http.cloudstore.GCSStore) ApprovalExpirationTimeService(org.broadinstitute.consent.http.service.ApprovalExpirationTimeService) ConsentCasesResource(org.broadinstitute.consent.http.resources.ConsentCasesResource) DataRequestReportsResource(org.broadinstitute.consent.http.resources.DataRequestReportsResource) DataAccessRequestService(org.broadinstitute.consent.http.service.DataAccessRequestService) DatasetAssociationService(org.broadinstitute.consent.http.service.DatasetAssociationService) OAuthAuthenticator(org.broadinstitute.consent.http.authentication.OAuthAuthenticator) DatasetResource(org.broadinstitute.consent.http.resources.DatasetResource) ResearcherService(org.broadinstitute.consent.http.service.ResearcherService) IndexOntologyService(org.broadinstitute.consent.http.service.ontology.IndexOntologyService) MatchResource(org.broadinstitute.consent.http.resources.MatchResource) SwaggerResource(org.broadinstitute.consent.http.resources.SwaggerResource) TosResource(org.broadinstitute.consent.http.resources.TosResource) DefaultAuthFilter(org.broadinstitute.consent.http.authentication.DefaultAuthFilter) ReviewResultsService(org.broadinstitute.consent.http.service.ReviewResultsService) IndexerResource(org.broadinstitute.consent.http.resources.IndexerResource) ErrorPageErrorHandler(org.eclipse.jetty.servlet.ErrorPageErrorHandler) SQLException(java.sql.SQLException) OAuthCustomAuthFilter(org.broadinstitute.consent.http.authentication.OAuthCustomAuthFilter) InstitutionService(org.broadinstitute.consent.http.service.InstitutionService) ElectionReviewResource(org.broadinstitute.consent.http.resources.ElectionReviewResource) VoteService(org.broadinstitute.consent.http.service.VoteService) SummaryService(org.broadinstitute.consent.http.service.SummaryService) IndexerServiceImpl(org.broadinstitute.consent.http.service.ontology.IndexerServiceImpl) StatusResource(org.broadinstitute.consent.http.resources.StatusResource) SamResource(org.broadinstitute.consent.http.resources.SamResource) OntologyHealthCheck(org.broadinstitute.consent.http.health.OntologyHealthCheck) ConsentManageResource(org.broadinstitute.consent.http.resources.ConsentManageResource) SamHealthCheck(org.broadinstitute.consent.http.health.SamHealthCheck) InstitutionResource(org.broadinstitute.consent.http.resources.InstitutionResource) DataAccessRequestResource(org.broadinstitute.consent.http.resources.DataAccessRequestResource) GCSHealthCheck(org.broadinstitute.consent.http.health.GCSHealthCheck) HttpClientUtil(org.broadinstitute.consent.http.util.HttpClientUtil) NihService(org.broadinstitute.consent.http.service.NihService) EmailNotifierResource(org.broadinstitute.consent.http.resources.EmailNotifierResource) MetricsService(org.broadinstitute.consent.http.service.MetricsService) UserService(org.broadinstitute.consent.http.service.UserService) DefaultAuthenticator(org.broadinstitute.consent.http.authentication.DefaultAuthenticator) DACUserResource(org.broadinstitute.consent.http.resources.DACUserResource) DataRequestVoteResource(org.broadinstitute.consent.http.resources.DataRequestVoteResource) SamService(org.broadinstitute.consent.http.service.sam.SamService) DacService(org.broadinstitute.consent.http.service.DacService) SendGridHealthCheck(org.broadinstitute.consent.http.health.SendGridHealthCheck) ElectionResource(org.broadinstitute.consent.http.resources.ElectionResource) DataRequestElectionResource(org.broadinstitute.consent.http.resources.DataRequestElectionResource) ConsentElectionResource(org.broadinstitute.consent.http.resources.ConsentElectionResource) LiquibaseException(liquibase.exception.LiquibaseException) EmailNotifierService(org.broadinstitute.consent.http.service.EmailNotifierService) GCSService(org.broadinstitute.consent.http.cloudstore.GCSService) ElectionService(org.broadinstitute.consent.http.service.ElectionService)

Aggregations

AuthFilter (io.dropwizard.auth.AuthFilter)3 ChainedAuthFilter (io.dropwizard.auth.chained.ChainedAuthFilter)3 AuthDynamicFeature (io.dropwizard.auth.AuthDynamicFeature)2 AuthValueFactoryProvider (io.dropwizard.auth.AuthValueFactoryProvider)2 FalloutVersion (com.datastax.fallout.FalloutVersion)1 ActiveTestRun (com.datastax.fallout.harness.ActiveTestRun)1 ClojureShutdown (com.datastax.fallout.harness.ClojureShutdown)1 TestRunStatusUpdatePublisher (com.datastax.fallout.harness.TestRunStatusUpdatePublisher)1 Ensemble (com.datastax.fallout.ops.Ensemble)1 CommandExecutor (com.datastax.fallout.ops.commands.CommandExecutor)1 LocalCommandExecutor (com.datastax.fallout.ops.commands.LocalCommandExecutor)1 AbortableRunnableExecutorFactory (com.datastax.fallout.runner.AbortableRunnableExecutorFactory)1 ActiveTestRunFactory (com.datastax.fallout.runner.ActiveTestRunFactory)1 DelegatingExecutorFactory (com.datastax.fallout.runner.DelegatingExecutorFactory)1 DelegatingRunnableExecutorFactory (com.datastax.fallout.runner.DelegatingRunnableExecutorFactory)1 DirectTestRunner (com.datastax.fallout.runner.DirectTestRunner)1 JobLoggersFactory (com.datastax.fallout.runner.JobLoggersFactory)1 QueuingTestRunner (com.datastax.fallout.runner.QueuingTestRunner)1 ResourceReservationLocks (com.datastax.fallout.runner.ResourceReservationLocks)1 RunnableExecutorFactory (com.datastax.fallout.runner.RunnableExecutorFactory)1