Marnen Laibow-Koser wrote:
> nick ger wrote:
>> Gaspard,
>> while we are on the subject i was recently considering different 
>> systems, and while right now I'm using restful_authentication I looked 
>> at authlogic as well.
>> 
>> Any particular reason you prefer it over other rails authorization 
>> systems?
> 
> I'm not Gaspard, but my reasons for preferring Authlogic are many:
> 
> * It's easier to work with.
> * It doesn't clutter your model files with framework code (I'm ripping 
> restful_auth out of Quorum [ http://quorum.sf.net ] at the moment, and 
> the amount of framework-generated crap that I removed from user.rb is 
> staggering).
> * You get more handy features for free.
> * Testing generally seems easier.
> 
> The only downside is that Authlogic does slightly more magic.
> 
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]

For all the reasons above and easy transitions from password hashing 
schemes:

My current hashing method on passwords is not the best possible solution 
so I can write an 'InitialCryptoProvider' to hash and match my old 
passwords and write a single line in my User class to smoothly 
transition from one hashing scheme to another without stressing my 
users.

acts_as_authentic :transition_from_crypto_provider => 
Zena::BetaCryptoProvider, :crypto_provider => 
Authlogic::CryptoProviders::BCrypt

And authlogic makes it easy to support new authentications (ldap, 
openid, etc).

G.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to