in reply to CGI Application Authentication using multiple drivers

If I assume that you're talking about CGI::Application::Plugin::Authentication, it does not seem to support multiple drivers. So you'll have to write your own "multi" driver that tries all drivers until it finds one that accepts.

  • Comment on Re: CGI Application Authentication using multiple drivers

Replies are listed 'Best First'.
Re^2: CGI Application Authentication using multiple drivers
by Prat824 (Acolyte) on Jun 25, 2010 at 17:57 UTC

    This is where I got the idea that I could do it
    http://search.cpan.org/~silasmonk/CGI-Application-Plugin-Authentication-0.18/lib/CGI/Application/Plugin/Authentication.pm#config

    "You can provide multiple drivers which will be used, in order, to check the credentials until a valid response is received."

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

        Can you point out what am I doing wrong? Thanks