Importing UserLogin rows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Importing UserLogin rows

Stephen Rufle-2
Is there a way to import UserLogin records encrypting their password as
the import happens? I found the
/ofbiz/framework/security/config/security.properties#password.accept.encrypted.and.plain
property which solves any immediate issues for plain text passwords.
Reply | Threaded
Open this post in threaded view
|

Re: Importing UserLogin rows

Jacques Le Roux
Administrator
Yes, I recently commited a change in import data which allows that.
Look for EncryptedString in datafiles.xsd

Jacques

From: "Stephen Rufle" <[hidden email]>
> Is there a way to import UserLogin records encrypting their password as
> the import happens? I found the
> /ofbiz/framework/security/config/security.properties#password.accept.encrypted.and.plain
> property which solves any immediate issues for plain text passwords.
>

Reply | Threaded
Open this post in threaded view
|

Re: Importing UserLogin rows

Stephen Rufle-2
Does that xsd relate to

<?xml version="1.0" encoding="UTF-8"?>
<entity-engine-xml>
      <UserLogin userLoginId="myuser" currentPassword="password"
isSystem="N" enabled="Y" partyId="1000" />
</entity-engine-xml>

Or is that meant for a comma separated data file.

Jacques Le Roux wrote:

> Yes, I recently commited a change in import data which allows that.
> Look for EncryptedString in datafiles.xsd
>
> Jacques
>
> From: "Stephen Rufle" <[hidden email]>
>> Is there a way to import UserLogin records encrypting their password
>> as the import happens? I found the
>> /ofbiz/framework/security/config/security.properties#password.accept.encrypted.and.plain
>> property which solves any immediate issues for plain text passwords.
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Importing UserLogin rows

Jacques Le Roux
Administrator
It's mean for separated data file. Beware of comma, sometimes you get conflicts with it. I prefer to user another separator (if no
conflicts I use semi-colon, but a horizontal tab can do the trick, etc.)

Jacques

From: "Stephen Rufle" <[hidden email]>

> Does that xsd relate to
>
> <?xml version="1.0" encoding="UTF-8"?>
> <entity-engine-xml>
>      <UserLogin userLoginId="myuser" currentPassword="password" isSystem="N" enabled="Y" partyId="1000" />
> </entity-engine-xml>
>
> Or is that meant for a comma separated data file.
>
> Jacques Le Roux wrote:
>> Yes, I recently commited a change in import data which allows that.
>> Look for EncryptedString in datafiles.xsd
>>
>> Jacques
>>
>> From: "Stephen Rufle" <[hidden email]>
>>> Is there a way to import UserLogin records encrypting their password as the import happens? I found the
>>> /ofbiz/framework/security/config/security.properties#password.accept.encrypted.and.plain property which solves any immediate
>>> issues for plain text passwords.
>>>
>>
>>
>>
>