Catalyst::Plugin::Authentication::CDBI::Basic - (DEPRECATED) Basic Authorization with Catalyst
use Catalyst qw/Session::FastMmap Authentication::CDBI Authentication::CDBI::Basic/; __PACKAGE__->config( authentication => { # Configure Autentication::CDBI : # and basic => { realm => 'Require Authorization', # Basic realm no_session => 1, # disable auth caching (optional) # auto error responsing # use View::TT template => '401.tt', view => 'MyApp::V::TT', # or plain text error_msg => 'Authentication Failed !', }, }, );
This module has been deprecated. The use of a new Authentication style is recommended.
See Catalyst::Plugin::Authetnication for detail.
This plugin privide Basic Authorization mechanism for Catalyst Application.
This plugin is required C::P::Authentication::CDBI, for users info. And also use Session Plugin for authorization caching (optional but recommanded).
Daisuke Murase <typester@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
Catalyst::Plugin::Authentication::CDBI
To install Catalyst::Plugin::Authentication::CDBI::Basic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Authentication::CDBI::Basic
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Authentication::CDBI::Basic
For more information on module installation, please visit the detailed CPAN module installation guide.