Return-Path: X-Original-To: apmail-incubator-openmeetings-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-openmeetings-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72701E5D1 for ; Thu, 24 Jan 2013 04:51:12 +0000 (UTC) Received: (qmail 59953 invoked by uid 500); 24 Jan 2013 04:51:12 -0000 Delivered-To: apmail-incubator-openmeetings-dev-archive@incubator.apache.org Received: (qmail 59826 invoked by uid 500); 24 Jan 2013 04:51:10 -0000 Mailing-List: contact openmeetings-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: openmeetings-dev@incubator.apache.org Delivered-To: mailing list openmeetings-dev@incubator.apache.org Received: (qmail 59774 invoked by uid 99); 24 Jan 2013 04:51:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 04:51:08 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of akhor666@gmail.com designates 209.85.215.177 as permitted sender) Received: from [209.85.215.177] (HELO mail-ea0-f177.google.com) (209.85.215.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 04:51:00 +0000 Received: by mail-ea0-f177.google.com with SMTP id n13so3676552eaa.22 for ; Wed, 23 Jan 2013 20:50:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=ne6yMN2/PSl5cx7y+MZ2XJgTV46Y8W5Zf4vHhy363PA=; b=hurqCd//5Fr7+dNDU631egfJjHYtrgvMB9/ex0c+l2yrzSZcu0PzTD+bJbSqfNMbpd lKMZ9fhZlt+5qLLBP3FYXfqSdzOQBVSj9bucAZSWrHvKYxZ428Zkcer+UTToLM5o2ZfK VJJ+q4zAhk/oPNV40Tjm/0T2A6OoUQp+OY4CuOdH+ZK4v9lTLK7Wjf3eHycR4/MLeQhI UFntcpXpSPrM++KtUq05bjYPK3pAa2PDpzOI1WTht5eJozEVl28WUwzV5/U5ciAtV67w FF7PtZv+7DvBeVSbRPOzZTzMnZz349D12eMQKxvN1/VXPhWpCPLxoV6HnzMZq2vMlWO1 rbtQ== MIME-Version: 1.0 X-Received: by 10.14.174.132 with SMTP id x4mr2252437eel.39.1359003040416; Wed, 23 Jan 2013 20:50:40 -0800 (PST) Received: by 10.14.209.2 with HTTP; Wed, 23 Jan 2013 20:50:40 -0800 (PST) In-Reply-To: References: Date: Thu, 24 Jan 2013 08:50:40 +0400 Message-ID: Subject: Re: Minimum password length issue From: Artyom Horuzhenko To: openmeetings-dev@incubator.apache.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks 2013/1/23 Maxim Solodovnik : > please try with "Committed revision 1437442." > seems to work for me > > > On Wed, Jan 23, 2013 at 8:34 PM, Maxim Solodovnik w= rote: > >> setUserObjectAndGenerateRoomHash works as expected and generates valid >> hash. >> Exception occurs at the time the hash is used. >> Will fix it today >> >> >> On Wed, Jan 23, 2013 at 4:54 PM, Artyom Horuzhenko w= rote: >> >>> Whole method was added by Maxim. >>> >>> 2013/1/23 Alexei Fedotov : >>> > Maxim, >>> > >>> > There is a problem with this call - in a different place >>> > updatePassword is called with password =3D "". This gives an exceptio= n. >>> > >>> > How can we resolve this. >>> > >>> > Artyom, >>> > was this new check added by Maxim? >>> > >>> > >>> > >>> > On Wed, Jan 23, 2013 at 1:45 PM, Artyom Horuzhenko >>> wrote: >>> >> Maxim, please have a look at the "updatePassword" method at the >>> >> "Users" class. There is a password length check: >>> >> >>> >> if (pass =3D=3D null || pass.length() < userPassMinimumLength) { >>> >> throw new RuntimeException("Password of invalid length is >>> provided"); >>> >> } >>> > >>> > >>> > >>> > -- >>> > With best regards / =D3 =CE=C1=C9=CC=D5=DE=DB=C9=CD=C9 =D0=CF=D6=C5= =CC=C1=CE=C9=D1=CD=C9, >>> > Alexei Fedotov / =E1=CC=C5=CB=D3=C5=CA =E6=C5=C4=CF=D4=CF=D7, >>> > http://dataved.ru/ >>> > +7 916 562 8095 >>> >> >> >> >> -- >> WBR >> Maxim aka solomax >> > > > > -- > WBR > Maxim aka solomax