public
Description: A very simple rails plugin to add a mono user authentication
Homepage: http://www.dmathieu.com
Clone URL: git://github.com/dmathieu/simpleauth.git
README.rdoc

Simple Auth

It is a very simple rails plugin that allows the authentication of users via HTTP. It supports only a mono user authentication. But that’s the goal, to keep it super simple.

Installation

Copy the folder to vendor/plugins. Restart your server. Add, in the controller where you want to have an authentication, the following :

  • before_filter :require_simple_auth

You can also add the options :only and :except.

Configure appropriately config/auth.yml with the logins and passwords for your environments. The encoding options can be : md5, sha1 or (default), nothing.

Load your controller and enjoy :)