Ticket #347 (assigned task)

Opened 3 years ago

Last modified 3 years ago

Write a framework for hybrid authentication

Reported by: ssmith Assigned to: ssmith (accepted)
Priority: normal Milestone:
Component: Do not know Version: 0.6.0
Severity: normal Keywords:
Cc:

Description

In some special cases, it might be required to check authentication against two sources.

ie/ check LDAP first, then check the database.

It would be nice to have a simple framework to easily drop in current methods, select the order of authentication, and then have everything else handled automatically.

module HybridController

   def define_order(*args)
      //define other modules and order here
   end

   def authenticate(username, password)
      //try first login
      //try second is first fails
      //return result
   end

Change History

04/12/05 12:43:54 AM changed by ssmith

  • type changed from defect to task.

05/04/06 08:59:56 PM changed by ssmith

  • owner changed from somebody to ssmith.
  • status changed from new to assigned.