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 <[EMAIL PROTECTED]>:
>
> 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 <[EMAIL PROTECTED]>:
> >>
> >>
> >> 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