This page (revision-7) was last changed on 23-Apr-2022 17:06 by HarryMetske

This page was created on 23-Apr-2022 17:05 by HarryMetske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
7 23-Apr-2022 17:06 2 KB HarryMetske to previous
6 23-Apr-2022 17:05 2 KB HarryMetske to previous | to last
5 23-Apr-2022 17:05 2 KB HarryMetske to previous | to last
4 23-Apr-2022 17:05 2 KB HarryMetske to previous | to last
3 23-Apr-2022 17:05 2 KB HarryMetske to previous | to last
2 23-Apr-2022 17:05 1 KB HarryMetske to previous | to last
1 23-Apr-2022 17:05 1 KB HarryMetske to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 5 changed 2 lines
* The passwords were first in plain text, later on they were (SHA) hashed.
* The format of the date fields have changed.
* The passwords were first in plain text, later on they were (SHA) hashed. (quite long ago)
* The format of the date fields have changed. (since 2.4.59)
At line 15 changed 2 lines
# The input userdatabase file will first be validated against an XML Schema, it will stop when the validation fails.
# If your passwords were already hashed, they will not be changed.
# The input userdatabase file will first be validated against an XML Schema, it will stop when the validation fails %%small (the xsd file is contained in the attached jar file) %%.
# If you have plaintext passwords, they will be changed.
At line 33 changed one line
metskem@bismarck:~/workspace/work$ java -cp /tmp/converter.jar:/home/metskem/java_libs/jdom.jar com.ecyrd.jspwiki.converter.UserDBConverter userdatabase.xml userdatabase-new.xml
metskem@bismarck:/tmp$ java -cp udbconversion.jar:jdom.jar com.ecyrd.jspwiki.converter.UserDBConverter userdatabase.xml new.xml
At line 39 changed 4 lines
starting conversion: /home/metskem/workspace/work/userdatabase.xml ==> /home/metskem/workspace/work/userdatabase-new.xml
XML Document built, writing to file userdatabase-new.xml
8 users processed in 0 seconds
metskem@bismarck:~/workspace/work$
starting conversion: /tmp/userdatabase.xml ==> /tmp/new.xml
parsing failed for dateString : 2006.09.19 at 16:15:21 CET
date conversion failed for user baduserid1 (Catweazle) , skipping this user
XML Document built, writing to file new.xml
51 users processed in 0 seconds
At line 48 changed one line
Attached you find the necessary code to run it, it also contains the source so that you can verify first what it will do :-) .
Attached you find the necessary code to run it, it also contains the source, so you can verify what it will do :-) .