Return-Path: X-Original-To: apmail-mesos-reviews-archive@minotaur.apache.org Delivered-To: apmail-mesos-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 890C6180A9 for ; Fri, 20 Nov 2015 14:00:36 +0000 (UTC) Received: (qmail 65527 invoked by uid 500); 20 Nov 2015 14:00:36 -0000 Delivered-To: apmail-mesos-reviews-archive@mesos.apache.org Received: (qmail 65502 invoked by uid 500); 20 Nov 2015 14:00:36 -0000 Mailing-List: contact reviews-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@mesos.apache.org Delivered-To: mailing list reviews@mesos.apache.org Received: (qmail 65485 invoked by uid 99); 20 Nov 2015 14:00:36 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2015 14:00:36 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 3505F2E2AC9; Fri, 20 Nov 2015 14:00:35 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2587056061400278955==" MIME-Version: 1.0 Subject: Re: Review Request 37999: Introduced an Authenticator interface and an AuthenticationRouter in libprocess. From: "Ben Mahler" To: "Benjamin Hindman" , "Adam B" , "Bernd Mathiske" , "Till Toenshoff" Cc: "Ben Mahler" , "Alexander Rojas" , "mesos" Date: Fri, 20 Nov 2015 14:00:35 -0000 Message-ID: <20151120140035.19610.49049@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Ben Mahler" X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/37999/ X-Sender: "Ben Mahler" References: <20151120125344.1027.12502@reviews.apache.org> In-Reply-To: <20151120125344.1027.12502@reviews.apache.org> Reply-To: "Ben Mahler" X-ReviewRequest-Repository: mesos --===============2587056061400278955== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37999/#review107365 ----------------------------------------------------------- Ship it! For transparency we pulled out the libprocess integration because we realized that requests sent to the authentication router need to have authentication results satisfied in the same order in which the requests were sent. We're still thinking through how to solve this within libprocess, so for now we're just going to commit these interfaces (we don't expect these interfaces to change further for the MVP). I will update the description in the commit to reflect that this no longer includes the ProcessManager integration. - Ben Mahler On Nov. 20, 2015, 12:53 p.m., Alexander Rojas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37999/ > ----------------------------------------------------------- > > (Updated Nov. 20, 2015, 12:53 p.m.) > > > Review request for mesos, Adam B, Benjamin Hindman, Bernd Mathiske, and Till Toenshoff. > > > Bugs: MESOS-3231 > https://issues.apache.org/jira/browse/MESOS-3231 > > > Repository: mesos > > > Description > ------- > > The Authenticator interface allows us to implement different > authenticators based on the scheme (e.g. Basic, Digest, SPNEGO). > The AuthenticationRouter manages the authentication realms and > the mapping from endpoints to realms. It is then used by the > ProcessManager to route requests to the authenticator for the > realm, if applicable. > > > Diffs > ----- > > 3rdparty/libprocess/Makefile.am cdefa37528ea69422978a9772f955042e882dde4 > 3rdparty/libprocess/include/Makefile.am e6be2c4db121585bbe7f3c0627de048adc7cfb2c > 3rdparty/libprocess/include/process/authenticator.hpp PRE-CREATION > 3rdparty/libprocess/include/process/event.hpp 60c615281f3810230bf6c17866f46eaa6855ca29 > 3rdparty/libprocess/include/process/http.hpp 90c9be122ee0c402b806d70fc818e3c03b15101a > 3rdparty/libprocess/src/CMakeLists.txt fb9bd04832779ac43151f2feb3dfbf58cb996434 > 3rdparty/libprocess/src/authentication_router.hpp PRE-CREATION > 3rdparty/libprocess/src/authentication_router.cpp PRE-CREATION > 3rdparty/libprocess/src/process.cpp 7abdf21a5784920251c3627f9820c12fdc356c6e > > Diff: https://reviews.apache.org/r/37999/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Alexander Rojas > > --===============2587056061400278955==--