[precis] Precis Java Implementation

Christian Schudt <christian.schudt@gmx.de> Mon, 21 December 2015 17:29 UTC

Return-Path: <christian.schudt@gmx.de>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 50CAA1A9126 for <precis@ietfa.amsl.com>; Mon, 21 Dec 2015 09:29:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level:
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fVDnktxCHiSJ for <precis@ietfa.amsl.com>; Mon, 21 Dec 2015 09:29:35 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A8C81A9123 for <precis@ietf.org>; Mon, 21 Dec 2015 09:29:35 -0800 (PST)
Received: from christihudtsmbp.fritz.box ([95.117.197.21]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MV6EP-1ZfT1A1nW1-00YSgj; Mon, 21 Dec 2015 18:29:29 +0100
From: Christian Schudt <christian.schudt@gmx.de>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 21 Dec 2015 18:29:26 +0100
Message-Id: <3012FFC8-1FAD-4C30-8D85-175F4180BC02@gmx.de>
To: precis@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\))
X-Mailer: Apple Mail (2.3096.5)
X-Provags-ID: V03:K0:Z4gdPJ3JQrwzhIv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7 +1jA6Hh
Archived-At: <http://mailarchive.ietf.org/arch/msg/precis/te9LMulJAYFwo2QAZShuQmWCoZg>
Cc: peter@andyet.com
Subject: [precis] Precis Java Implementation
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/precis/>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Dec 2015 17:29:37 -0000

Dear all,

I’ve been working on an open source Java implementation for the Precis framework since a few weeks and I'd finally like to share it with you:

https://bitbucket.org/sco0ter/precis

It supports the core Precis framework (RFC 7564), as well as the username and opaque string profiles (RFC 7613) and the recently published Nickname profile (RFC 7700).

If anybody of you find some time and is familiar with coding/Java, I’d be happy to receive some review and feedback from you, since I am planning to publish a first version to Maven Central soon.

There’s still one outstanding issue, which is the correct order of rules (RFC 7564 and the profiles specify them differently, as a consequence an exception is either thrown or not). See my source code comment here:

https://bitbucket.org/sco0ter/precis/src/ecd82b75f3611dcb37ee0fd8890bfaf02b5caf9f/src/main/java/rocks/xmpp/precis/PrecisProfile.java?at=master&fileviewer=file-view-default#PrecisProfile.java-684

(I also asked about it here in this mailing list)

Thanks for feedback.

— Christian