Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 16787 invoked from network); 9 Mar 2008 18:23:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2008 18:23:44 -0000 Received: (qmail 99972 invoked by uid 500); 9 Mar 2008 18:23:40 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 99959 invoked by uid 500); 9 Mar 2008 18:23:40 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 99950 invoked by uid 99); 9 Mar 2008 18:23:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Mar 2008 11:23:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Janne.Jalkanen@ecyrd.com designates 193.64.5.122 as permitted sender) Received: from [193.64.5.122] (HELO mail.ecyrd.com) (193.64.5.122) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Mar 2008 18:23:03 +0000 Received: from [192.168.0.11] (cs181005170.pp.htv.fi [82.181.5.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.ecyrd.com (Postfix) with ESMTP id 705444839F for ; Sun, 9 Mar 2008 20:22:56 +0200 (EET) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <3a6c97f00803090535g54e82879ka70a7ac1e03b8da1@mail.gmail.com> References: <3971F37073493E419E8B972CAE7107D408724B08@EXCHVS01.bcbsmamd.net> <3a6c97f00803031217n65dce559u8fd5a7a30ef1d0d0@mail.gmail.com> <3a6c97f00803031241s517cfd80hb87c10677bd29f6a@mail.gmail.com> <3a6c97f00803090535g54e82879ka70a7ac1e03b8da1@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1C89B630-E537-48A6-8EA8-4D631CA959FD@ecyrd.com> Content-Transfer-Encoding: 7bit From: Janne Jalkanen Subject: Re: User conversion Date: Sun, 9 Mar 2008 20:22:41 +0200 To: jspwiki-user@incubator.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org I don't think there is one... If you can make one, go ahead. xsd is not my strong suite... /Janne On 9 Mar 2008, at 14:35, Harry Metske wrote: > Does anyone know if there is an XML Schema (xsd) for the > UserDatabase.xml, > both the old and the new formats ? ( I couldn't find it). > And if it is not there, I'd like to propose one, coming together > with the > conversion utility. > It should also be possible to use it in JSPWiki itself however.... > > regards, > Harry > > 2008/3/3, Harry Metske : >> >> Well, it currently is almost nothing, it just takes a string as a >> parameter and puts out the hashed value of this string. >> >> But if there is a need for a more general "userdatabase conversion >> utility" , I'd be happy to spend some time on it and share it. >> We would then first have to state some requirements though, >> something like >> : >> >> - take a userdatabase.xml as input and create a "converted" >> userdatabase.new.xml as output >> - in the outputted file : >> - the password attribute of each user element should be hashed >> - the created and lastModified attribute of each user element >> should be converted from old to new format (somewhat more >> specific) >> - user elements that cannot be properly converted should be >> written >> to an "exception file" >> >> Anyone of you any other requirements ? >> >> I would also have to find out if there have been more changes in >> userdatabase.xml during the last few years ....... >> >> regards, >> Harry >> >> >> 2008/3/3, Andrew Jaquith : >>> >>> Harry, could you share the code you wrote? This would probably >>> make a >>> handy utility class we could add to the core distribution. >>> >>> >>> Andrew >>> >>> >>> On Mar 3, 2008, at 3:17 PM, Harry Metske wrote: >>> >>>> I'm not aware of a tool that does this for you, however it is >>>> rather >>>> easy to >>>> make this (I actually just made a very simple program that uses >>>> existing >>>> JSPWiki code). >>>> I think you would also have to convert the dates to another format. >>>> >>>> Do you have may users in your userdatabase.xml ? >>>> >>>> regards, >>>> Harry >>>> >>>> 2008/3/3, Mattier, Ricardo : >>>>> >>>>> >>>>> Hello, >>>>> I currently have JSPWiki 2.2.33 running. I working on >>>>> converting >>>>> to >>>>> 2.6.1. The username and passwords are in clear text. Is there >>>>> some >>>>> sort of tool I could use to change user passwords from clear >>>>> text to >>>>> encrypted? >>>>> >>>>> -RM >>>>> >>>>> This message is a PRIVATE communication. >>>>> If you are not the intended recipient, please do not read, copy >>>>> or use it and do not disclose it to others. Please notify the >>>>> sender of the delivery error by replying to this message and then >>>>> delete from your system. Thank you. >>>>> >>>> >>>> >>>> >>>> -- >>>> met vriendelijke groet, >>>> Harry Metske >>>> Telnr. +31-548-512395 >>>> Mobile +31-6-51898081 >>> >>> >> >> >> -- >> met vriendelijke groet, >> Harry Metske >> Telnr. +31-548-512395 >> Mobile +31-6-51898081 >> > > > > -- > met vriendelijke groet, > Harry Metske > Telnr. +31-548-512395 > Mobile +31-6-51898081