If you want a pure rack-based solution, take a look at warden[1].
There are plugins and engines available for use with rails (see the
example page on the wiki). It essentially gives you access to a 'user'
object and a few useful authentication methods through the rack
environment. The user object can be whatever you want, and there are
callback hooks for different steps in the authentication procedure.
I've been playing with it for sinatra apps and it's a nice simple
solution. Might still be a bit rough around the edges compared to
clearance though...

[1]: http://github.com/hassox/warden

On Nov 24, 2:08 pm, kevbaker <[email protected]> wrote:
> Messing with auth in Rails. Which direction do you generally go these
> days?
>
> I'm looking into Clearance, restful-authentication, authlogic or
> custom right now.
>
> Thanks

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to