CGI::Application::Plugin::Authorization::Driver::DBI

CGI::Application::Plugin::Authorization::Driver::DBI is a Perl module with DBI Authorization driver.
Download

CGI::Application::Plugin::Authorization::Driver::DBI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • SiteSuite
  • Publisher web site:
  • http://search.cpan.org/~ceeshek/CGI-Application-Plugin-Authentication-0.12/lib/CGI/Application/Plugin/Authentication/Driver/Generic.pm

CGI::Application::Plugin::Authorization::Driver::DBI Tags


CGI::Application::Plugin::Authorization::Driver::DBI Description

CGI::Application::Plugin::Authorization::Driver::DBI is a Perl module with DBI Authorization driver. CGI::Application::Plugin::Authorization::Driver::DBI is a Perl module with DBI Authorization driver.SYNOPSIS use base qw(CGI::Application); use CGI::Application::Plugin::Authorization; # Simple task based authentication __PACKAGE__->authz->config( DRIVER => , JOIN_ON => 'account.id = task.accountid', USERNAME => 'account.name', CONSTRAINTS => { 'task.name' => '__PARAM_1__', } ], ); if ($self->authz->authorize('editfoo') { # User is allowed access if it can 'editfoo' }This Authorization driver uses the DBI module to allow you to gather authorization information from any database for which there is a DBD module. You can either provide an active database handle, or provide the parameters necesary to connect to the database. Requirements: · Perl


CGI::Application::Plugin::Authorization::Driver::DBI Related Software