Return-Path: Delivered-To: apmail-mina-users-archive@www.apache.org Received: (qmail 50693 invoked from network); 18 Feb 2011 15:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2011 15:43:55 -0000 Received: (qmail 73990 invoked by uid 500); 18 Feb 2011 15:43:55 -0000 Delivered-To: apmail-mina-users-archive@mina.apache.org Received: (qmail 73765 invoked by uid 500); 18 Feb 2011 15:43:54 -0000 Mailing-List: contact users-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@mina.apache.org Delivered-To: mailing list users@mina.apache.org Received: (qmail 73753 invoked by uid 99); 18 Feb 2011 15:43:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:43:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bernd.fondermann@googlemail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-iy0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:43:48 +0000 Received: by iyh42 with SMTP id 42so4001399iyh.2 for ; Fri, 18 Feb 2011 07:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=N35D9vSuljY69QbO9mi0+tSHQbqI60MSSEkgEobMAqI=; b=vN4X1AHVJa1QfaYsvIDnXo2dBerxFVaM60wfhqZZ/mpYbQIrAeRvo27beApn2oL04m xfDcd4SAGaSNDFwQXD0nk/q2+WHhf+OSqGrkl7dHAMovN3TTdnF5vn9Pe3VLLkAqawqd +YoEOirXRMEuuikerkz5NEY7cVoP2TjRmXKzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=V9V6cxkaG4Q9CA0pqfu8JwGb5KDJiZnZRcPQidNaUAsUOwSwr2ucBMmDZMLQzjXvPB Hsrg/hVnIWzm/M0YATjw5vJc0sRjQxbjXxjYzdkxC4AuQe8YfabDDUFRJTab49p0iFfn xS4X+GXaChLEfvVamoJSZfnG/IYvbdNpUVOLM= MIME-Version: 1.0 Received: by 10.42.239.200 with SMTP id kx8mr1010223icb.416.1298043807674; Fri, 18 Feb 2011 07:43:27 -0800 (PST) Received: by 10.42.8.149 with HTTP; Fri, 18 Feb 2011 07:43:27 -0800 (PST) In-Reply-To: References: Date: Fri, 18 Feb 2011 16:43:27 +0100 Message-ID: Subject: Re: [vysper] questions From: Bernd Fondermann To: users@mina.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2011 at 16:35, Sasha Dolgy wrote: > Hi, > > =A0I have a working prototype using cassandra as a storage provider for > [ org.apache.vysper.xmpp.authorization.AccountManagement/UserAuthorizatio= n > ] > > verifyAccountExists(Entity jid) > addUser(String username, String password) > > I started taking a look at the ResourceRegistry as you suggested. =A0Woul= dn't > a good first step be to abstract this and make it an interface and move t= he > existing code into something that then implements it? +1 >=A0This way people could > write different resource registry implementations so that we could see ju= st > how badly having it back onto Cassandra would be ; ) right :-) > My code isn't pretty. =A0Having said that, what or where is the best way = to > share it? =A0Admittedly, it has been years since i've contributed somethi= ng > anywhere. Please open a JIRA ticket ( https://issues.apache.org/jira/browse/VYSPER , registration required) create a diff (IDEs, Unix, SVN tools etc support that) and attach it to the JIRA issue. Note: Don't forget to check the ASF grant tick box. Thanks for contributing! > Also, what I find a little odd, the password for an entity is in clear > text....? =A0Is this covered in the XMPP protocols anywhere? Ah. Next JIRA, please. We shouldn't do that, and no storage backend is required to store plain text. XMPP is agnostic about how passwords are stored. Thanks, Bernd > > -sd > > > On Fri, Feb 18, 2011 at 12:06 PM, Bernd Fondermann < > bernd.fondermann@googlemail.com> wrote: > > >> =A0> It shifts the complexity down a level and makes mass deployment of = new >> > instances much easier and doesn't overly complicate the current >> > implementation. >> > >> > If I make headway creating a storage provider interfacing with cassand= ra >> > i'll drop a note here. >> >> >> By all means, please do that! I think cassandra is the perfect backend >> for Vysper. >> If you'd contribute code, that would be awesome (I don't remember >> having used this word for some time.). >> >> =A0Bernd >> >