Module Authentication
In: lib/authentication/ldap.rb
lib/authentication/remember_me.rb
lib/authentication/salted_hash.rb
lib/authentication/single_token.rb
lib/authentication/hash_helper.rb
lib/authentication/radius.rb
lib/authentication/bogus.rb
lib/authentication.rb

This module provides the infrastructure for implementing a pluggable authentication system.

This plugin was created in similar spirit to the Authen::Simple CPAN module in Perl. The internal design is different but the goal is the same. A chain of authentication systems can be registered. When a user attempts to authenticate it will cycle through this chain until it can authenticate successfully.

This allows you to have multiple authentication attempts (perhaps a ActiveDirectory auth, followed by a POP3 auth, followed by an auth on the local database). This also allows the authentication mechanism to be switched out with mimimal affects on the code.

The goal is eventually to include with this plugin a variety of authentication methods with sane defaults. Depending on the environment the authentication method can be easily changed and chained. Right now we only support authenticating with the local database.

See Authentication::Macros for usage info

Classes and Modules

Module Authentication::HashHelper
Module Authentication::InstanceMethods
Module Authentication::Macros
Class Authentication::Bogus
Class Authentication::Ldap
Class Authentication::Radius
Class Authentication::RememberMe
Class Authentication::SaltedHash
Class Authentication::SingleToken

[Validate]