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 8 added one line
At line 10 changed 3 lines
\\You give it your userdatabase.xml file, and it will create a new one for you in the new format, with both hashed passwords and correct dateformats.
If your passwords were already hashed, they will not be changed.
The conversion utility will try to parse the dates with three different patterns:
!! Usage
# You give it your userdatabase.xml file, and it will create a new one for you in the new format, with both hashed passwords and correct dateformats.
# 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 conversion utility will try to parse the dates with three different patterns:
At line 18 removed one line
At line 21 removed 2 lines
Attached you find the necessary code to run it, it also contains the source so that you can verify first what it will do :-) .
At line 31 added 13 lines
\\Here is an example output of this utility:
{{{
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
validating xml document userdatabase.xml
Schema validation completed in 0 seconds
fatal errors occured:false
errors occured:false
warnings occured:false
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$
}}}
At line 30 removed one line
At line 47 added 2 lines
Attached you find the necessary code to run it, it also contains the source so that you can verify first what it will do :-) .