dm-devise [https://github.com/jm81/dm-devise] might work for you. I'm using
it in a similar situation--Rails 3, DataMapper and custom hashing. The
dm-devise gem just adds DataMapper support to devise
[https://github.com/plataformatec/devise]. There's an article on the devise
wiki about using a custom hashing algorithm at
https://github.com/plataformatec/devise/wiki/How-To:-Create-a-custom-encrypt
or.

- Jared Morgan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Mark Richman
Sent: Wednesday, November 17, 2010 7:38 PM
To: DataMapper
Subject: [DataMapper] Authentication

Can someone recommend an authentication solution that works with
DataMapper and Rails 3? I have used Authlogic in the past, but it
appears to be intimately tied to ActiveRecord. I'll also require
control over the password hashing algorithm used, since I have a
custom one I'll need to use with my legacy database (where my user
table lives).

-- 
You received this message because you are subscribed to the Google Groups
"DataMapper" 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/datamapper?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.

Reply via email to