in reply to Re^2: CGI Application Authentication using multiple drivers
in thread CGI Application Authentication using multiple drivers

Ah - I hadn't seen that. Why are you doing it differently than the documentation suggests?

  • Comment on Re^3: CGI Application Authentication using multiple drivers

Replies are listed 'Best First'.
Re^4: CGI Application Authentication using multiple drivers
by Prat824 (Acolyte) on Jun 25, 2010 at 18:28 UTC
    Can you point out what am I doing wrong? Thanks

      You write something like:

      DRIVER => [ 'DBI', ... ], DRIVER => [ 'Authen::Simple::LDAP', ... ],

      while the documentation suggests

      DRIVER => [ [ 'Generic', { user1 => '123' } ], [ 'Generic', sub { my ($u, $p) = @_; is_prime($p) ? 1 : 0 } ] ],
        oh - much appreciated.. I had a brain paralysis by looking at the doc and my code for too long.