UserLogin seeding and passwords

2009-03-31 Thread Stephen Rufle
How would I generate the hash values for currentPassword on the UserLogin entity. I was trying to create a user login but set currentPassword to a plaintext value. When I then tried login I get Password incorrect., I think this is because I did not hash the password. Is there an external utility

Re: UserLogin seeding and passwords

2009-03-31 Thread David E Jones
I personally just use OFBiz itself for this (preferably a local instance as it is more secure, but it can be done on the demo server too). Just create a new user, with the password you want, and then look in the database (can be done with the WebTools Entity Data Maintenance screens) to

Re: UserLogin seeding and passwords

2009-03-31 Thread Stephen Rufle
That is exactly what I did :). I was thinking further ahead when we need to migrate a bunch of users over to our system. My thoughts after looking further into the code are that, we could use a list of userId's with a mapping to the partyId they are and just call createUserLogin in a loop of some