incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: User conversion
Date Sun, 09 Mar 2008 18:22:41 GMT

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 <harry.metske@gmail.com>:
>>
>> 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 <andrew.jaquith@mac.com>:
>>>
>>> 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 <Ricardo.Mattier@bcbsma.com>:
>>>>>
>>>>>
>>>>> 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


Mime
View raw message