Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-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 76CB8F222 for ; Tue, 2 Apr 2013 05:42:55 +0000 (UTC) Received: (qmail 14958 invoked by uid 500); 2 Apr 2013 05:42:55 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 14813 invoked by uid 500); 2 Apr 2013 05:42:54 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 14760 invoked by uid 500); 2 Apr 2013 05:42:53 -0000 Delivered-To: apmail-incubator-cloudstack-dev@incubator.apache.org Received: (qmail 14753 invoked by uid 99); 2 Apr 2013 05:42:53 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 05:42:53 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 060361C263B; Tue, 2 Apr 2013 05:42:50 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0424345343130688435==" MIME-Version: 1.0 Subject: Re: Review Request: Make SHA256Salt the default password encoding and authentication mechanism for cloudstack From: "Venkata Siva Vijayendra Bhamidipati" To: "Min Chen" , "Kelven Yang" , "Hugo Trippaers" Cc: "cloudstack" , "Venkata Siva Vijayendra Bhamidipati" Date: Tue, 02 Apr 2013 05:42:50 -0000 Message-ID: <20130402054250.23824.73047@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Venkata Siva Vijayendra Bhamidipati" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/10039/ X-Sender: "Venkata Siva Vijayendra Bhamidipati" References: <20130328202619.12538.35642@reviews.apache.org> In-Reply-To: <20130328202619.12538.35642@reviews.apache.org> Reply-To: "Venkata Siva Vijayendra Bhamidipati" --===============0424345343130688435== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10039/ ----------------------------------------------------------- (Updated April 2, 2013, 5:42 a.m.) Review request for cloudstack, Hugo Trippaers, Kelven Yang, and Min Chen. Changes ------- Attaching latest diffs on top of master, incorporating changes suggested by= Min. Description ------- Changing default password encoding mechanism from MD5 to SHA256Salted. This addresses bug CS-1734. Diffs (updated) ----- api/src/org/apache/cloudstack/api/command/admin/account/CreateAccountCmd.= java 89673ea = api/src/org/apache/cloudstack/api/command/admin/user/CreateUserCmd.java f= b29e1a = api/src/org/apache/cloudstack/api/command/admin/user/UpdateUserCmd.java 1= f31662 = client/tomcatconf/applicationContext.xml.in 636eac2 = client/tomcatconf/componentContext.xml.in fea1d0f = client/tomcatconf/nonossComponentContext.xml.in 0b02eb6 = developer/developer-prefill.sql 6300d35 = plugins/user-authenticators/ldap/src/com/cloud/server/auth/LDAPUserAuthen= ticator.java 61eebe5 = plugins/user-authenticators/md5/src/com/cloud/server/auth/MD5UserAuthenti= cator.java 026125e = plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTex= tUserAuthenticator.java 52e7cb3 = plugins/user-authenticators/sha256salted/src/com/cloud/server/auth/SHA256= SaltedUserAuthenticator.java 1b29f69 = server/src/com/cloud/server/ManagementServerImpl.java d0904e1 = server/src/com/cloud/user/AccountManagerImpl.java 40db4ed = Diff: https://reviews.apache.org/r/10039/diff/ Testing ------- Manual testing done for both oss and nonoss components. Both admin and user= s added later are encoded according to the scheme configured, and authentic= ated by the same scheme. To change the order of the schemes, modify the following list properties in= client/tomcatconf/nonossComponentContext.xml.in or client/tomcatconf/compo= nentContext.xml.in as applicable, to the desired order: Thanks, Venkata Siva Vijayendra Bhamidipati --===============0424345343130688435==--