Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67A6F1791F for ; Mon, 16 Mar 2015 21:22:02 +0000 (UTC) Received: (qmail 42245 invoked by uid 500); 16 Mar 2015 21:22:02 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 42199 invoked by uid 500); 16 Mar 2015 21:22:02 -0000 Mailing-List: contact issues-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list issues@aurora.incubator.apache.org Received: (qmail 42123 invoked by uid 99); 16 Mar 2015 21:22:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 21:22:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Mar 2015 21:22:01 +0000 Received: (qmail 41377 invoked by uid 99); 16 Mar 2015 21:21:41 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Mar 2015 21:21:41 +0000 Date: Mon, 16 Mar 2015 21:21:41 +0000 (UTC) From: "Chris Lambert (JIRA)" To: issues@aurora.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AURORA-1201) auth_module is not installed in child injector MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AURORA-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Lambert updated AURORA-1201: ---------------------------------- Sprint: Twitter Aurora Q1'15 Sprint 5 > auth_module is not installed in child injector > ---------------------------------------------- > > Key: AURORA-1201 > URL: https://issues.apache.org/jira/browse/AURORA-1201 > Project: Aurora > Issue Type: Bug > Components: Scheduler, Security > Reporter: Kevin Sweeney > Assignee: Kevin Sweeney > Priority: Blocker > > The recent patch to enable HTTP Basic Authentication moved construction of ThriftAuthModule to the Jetty child injector, but the user-supplied module was still installed in the parent injector. This leads to a stack trace for anyone using their own {{auth_module}}: > {noformat} > INFO: Connecting to master using authentication (principal: TwitterScheduler). > Exception in thread "main" com.google.inject.CreationException: Guice creation errors: > 1) No implementation for java.util.Map was bound. > while locating java.util.Map > for parameter 1 at com.twitter.aurora.internal.auth.TwitterCapabilityValidator.(TwitterCapabilityValidator.java:28) > at com.twitter.aurora.internal.auth.TwitterAuthModule.configure(TwitterAuthModule.java:97) > 2) No implementation for java.util.Map was bound. > at com.twitter.aurora.internal.auth.TwitterAuthModule.configure(TwitterAuthModule.java:94) > 2 errors > at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435) > at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154) > at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106) > at com.google.inject.Guice.createInjector(Guice.java:95) > at com.google.inject.Guice.createInjector(Guice.java:83) > at com.twitter.common.application.AppLauncher.configureInjection(AppLauncher.java:120) > at com.twitter.common.application.AppLauncher.run(AppLauncher.java:87) > at com.twitter.common.application.AppLauncher.launch(AppLauncher.java:181) > at com.twitter.common.application.AppLauncher.launch(AppLauncher.java:142) > at org.apache.aurora.scheduler.app.SchedulerMain.main(SchedulerMain.java:279) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)