When you say you copied the existing mapper stuff? How do you mean?
Non-reversible is fine with me :-) as long as im able to compare the digests
to validate a user that's fine with me.
Cheers, Tim
On 26/10/2008 15:25, "Derek Chen-Becker" <[EMAIL PROTECTED]> wrote:
> I just copied the mechanism that David uses in the existing Mapper stuff. I
> add these fields to the User record:
>
> @Column{val name = "passsalt"}
> var passwordSalt = ""
>
> @Column{val name= "passhash"}
> var passwordHash = ""
>
> And then use the Helpers.randomString and hash methods to set up a hashed
> version of the passwords. Or are you talking about a bidirectional encryption
> on the password?
>
> Derek
>
> On Sun, Oct 26, 2008 at 8:18 AM, Tim Perrett <[EMAIL PROTECTED]> wrote:
>>
>> Hey guys,
>>
>> Has anyone been encrypting passwords through JPA and lift? Im looking
>> at implementing something Jasypt but wanted to see what / if anyone
>> else has some other pointers / ideas?
>>
>> Cheers
>>
>> Tim
>>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---