Return-Path: X-Original-To: apmail-mesos-dev-archive@www.apache.org Delivered-To: apmail-mesos-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AB3017C17 for ; Thu, 30 Oct 2014 02:47:14 +0000 (UTC) Received: (qmail 88602 invoked by uid 500); 30 Oct 2014 02:47:14 -0000 Delivered-To: apmail-mesos-dev-archive@mesos.apache.org Received: (qmail 88536 invoked by uid 500); 30 Oct 2014 02:47:13 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 88514 invoked by uid 99); 30 Oct 2014 02:47:13 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2014 02:47:13 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id C21CD1DF958; Thu, 30 Oct 2014 02:47:17 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2547128727506451336==" MIME-Version: 1.0 Subject: Re: Review Request 27122: Reorganized authentication implementation locations. From: "Till Toenshoff" To: "Vinod Kone" , "Adam B" Cc: "mesos" , "Kapil Arya" , "Till Toenshoff" Date: Thu, 30 Oct 2014 02:47:17 -0000 Message-ID: <20141030024717.7143.59344@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Till Toenshoff" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/27122/ X-Sender: "Till Toenshoff" References: <20141028233720.7138.22759@reviews.apache.org> In-Reply-To: <20141028233720.7138.22759@reviews.apache.org> Reply-To: "Till Toenshoff" X-ReviewRequest-Repository: mesos-git --===============2547128727506451336== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Oct. 28, 2014, 11:37 p.m., Kapil Arya wrote: > > src/authentication/cram_md5/authenticator.hpp, lines 19-20 > > > > > > s/CRAMMD5/AUTHENTICATION_CRAM_MD5/ ? > > Till Toenshoff wrote: > I find the idea of reversing the specification and the base interface rather unusual and it also would not fit our current scheme, e.g. "ISOLATOR" -> "MEM_ISOLATOR" / "SHARED_FILESYSTEM_ISOLATOR". > Adding an extra underscore on the other hand should be fine. > > Kapil Arya wrote: > I actually mean "__AUTHENTICATION_CRAM_MD5_AUTHENTICATOR_HPP__" to replace the existing one to allow the base directory name to be also part of the include guard. Whoops, sry - should have seen that. Thanks for this suggestion. - Till ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27122/#review58910 ----------------------------------------------------------- On Oct. 30, 2014, 1:13 a.m., Till Toenshoff wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/27122/ > ----------------------------------------------------------- > > (Updated Oct. 30, 2014, 1:13 a.m.) > > > Review request for mesos, Adam B and Vinod Kone. > > > Bugs: MESOS-1893 > https://issues.apache.org/jira/browse/MESOS-1893 > > > Repository: mesos-git > > > Description > ------- > > For paving the way into further authentication mechanism implementations, the existing is reorganized. > > Move src/sasl to src/authentication/cram_md5, rename src/tests/sasl_tests.cpp to src/tests/cram_md5_authentication_tests.cpp. > Adapt depending include paths. > Rename specific test implementations from SASL to CRAMMD5Authentication. > Rename sasl namespace to cram_md5 throughout all uses. > Add missing license blob to auxprop.cpp. > > > Diffs > ----- > > src/Makefile.am f177d87 > src/authentication/cram_md5/authenticatee.hpp PRE-CREATION > src/authentication/cram_md5/authenticator.hpp PRE-CREATION > src/authentication/cram_md5/auxprop.hpp PRE-CREATION > src/authentication/cram_md5/auxprop.cpp PRE-CREATION > src/master/master.hpp b1a2cd0 > src/master/master.cpp 762d2ff > src/sasl/authenticatee.hpp ec2c841 > src/sasl/authenticator.hpp 6f4d3db > src/sasl/auxprop.hpp 44e201b > src/sasl/auxprop.cpp 6de1222 > src/sched/sched.cpp 0fb8c7b > src/scheduler/scheduler.cpp fb88a3e > src/slave/slave.hpp eb5de73 > src/slave/slave.cpp 96fb5f7 > src/tests/cram_md5_authentication_tests.cpp PRE-CREATION > src/tests/sasl_tests.cpp 30556fa > > Diff: https://reviews.apache.org/r/27122/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Till Toenshoff > > --===============2547128727506451336==--