perl-CGI-Builder-Auth - Add user authentication to the CGI::Builder Framework

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-CGI-Builder-Auth
Package version 0.06
Package release alt1
Package architecture noarch
Package type rpm
Installed size 171.98 KB
Download size 171.98 KB
Official Mirror
For those who prefer to read code rather than documentation, see the examples
directory in the distribution. The example is well commented and exercises the
API fully.
CGI::Builder::Auth adds an authentication system to the CBF.  An object stored
in the `auth' property keeps track of the current user, and provides methods
for performing common tests to determine that user's status in the current
context. It talks to the user database through the configured User_factory
and Group_factory classes.
The module includes default User_factory and Group_factory classes which store
their database in plain text files. The files should be compatible with Apache
password files generated by the `htpasswd' utility, but this feature is
untested as of release 0.06. The default classes also have preliminary support
for storing user/group information in a SQL database. If you are interested in
using this feature, please see the example file in the distribution
examples/ (Many thanks to Rusty Phillips for this code.)
A developer may provide custom User_factory and Group_factory classes so that
the CBF can access a database of his own design. These classes must conform to
the API for the User Class and Group Class respectively. The example
shows one possible implementation of alternative User_factroy and Group_factory
classes (implemented in the CDBI_*.pm files). Please look in the examples
directory of this distribution and read the Custom User and Group Classes entry elsewhere in this document below.
WARNING: The default User and Group factories provided with this module are
not thread-safe. You may have issues using them on a multi-threaded web server
such as the Windows version of Apache or any version of Apache2. (Apache 1.x
on Linux should be fine). If you intend to deploy on a multi-threaded platform,
you should design your own User and Group factories. Also, even on supported
platforms you may run into file-locking issues under heavy loads, because only
one web server process may have the database open at a time. Developers are
encouraged to use a SQL database to avoid these issues.
This module can use CGI::Builder::Session to track the
authentication context from one request to the next, so a user can login once
and remain logged in until her session terminates. This happens automatically
when the module detects that you are using sessions. You don't need to do
anything special. The module will function without sessions, but only within
the current request. Realistically, for any real web application you will want
to use the session integration.
Any session keys set by this module will begin with 'CBA_'. Do not attempt to
access these keys directly, they are intended for internal use only.


Package Version Architecture Repository
perl-CGI-Builder-Auth - - -


Name Value
/usr/share/perl5 -
perl(Class/ >= 1.750
perl(Class/ -
perl(Class/ >= 1.700
perl( -
perl(Digest/ -
perl(Digest/ -
perl( -
perl(File/ -
perl(File/ -
perl( -
perl(Object/ -
perl(Scalar/ -
perl( -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(CGI/Builder/ -
perl(CGI/Builder/Auth/ = 1.001.001
perl(CGI/Builder/Auth/ -
perl(CGI/Builder/Auth/ -
perl(CGI/Builder/Auth/ = 1.500
perl(CGI/Builder/Auth/GroupAdmin/ = 1.200
perl(CGI/Builder/Auth/GroupAdmin/DBM/ = 1.001.001
perl(CGI/Builder/Auth/GroupAdmin/ = 1.001.001
perl(CGI/Builder/Auth/GroupAdmin/ = 1.001.001
perl(CGI/Builder/Auth/GroupAdmin/Text/ = 1.001.001
perl(CGI/Builder/Auth/ -
perl(CGI/Builder/Auth/ = 1.330
perl(CGI/Builder/Auth/ -
perl(CGI/Builder/Auth/ = 1.510
perl(CGI/Builder/Auth/UserAdmin/ = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/DBM/ = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/ = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/ = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/Text/ = 1.001.001
perl-CGI-Builder-Auth = 0.06-alt1


Type URL
Binary Package perl-CGI-Builder-Auth-0.06-alt1.noarch.rpm
Source Package perl-CGI-Builder-Auth-0.06-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-CGI-Builder-Auth rpm package:
    # sudo apt-get install perl-CGI-Builder-Auth



See Also

Package Description
perl-CGI-Builder-GetPageName-0.03-alt1.noarch.rpm GetPageName from path info
perl-CGI-Builder-LogDispatch-0.1-alt1.noarch.rpm integrated logging system for CGI::Builder
perl-CGI-Builder-PathInfoMagic-0.03-alt1.noarch.rpm Deprecated. Use CGI::Builder::GetPageName instead
perl-CGI-Builder-TT2-0.03-alt1.noarch.rpm perl module CGI-Builder-TT2
perl-CGI-CIPP-0.07-alt1.noarch.rpm perl module CGI-CIPP
perl-CGI-Cache-1.4214-alt1.noarch.rpm Perl extension to help cache output of time-intensive CGI scripts
perl-CGI-Capture-1.14-alt1.noarch.rpm Meticulously thorough capture and replaying of CGI calls
perl-CGI-Capture-scripts-1.14-alt1.noarch.rpm CGI-Capture scripts
perl-CGI-Carp-DebugScreen-0.16-alt1.noarch.rpm provides a decent debug screen for Web applications
perl-CGI-Carp-Fatals-0.02-alt1.noarch.rpm perl module CGI-Carp-Fatals
perl-CGI-Carp-StackTrace-0.01-alt1.noarch.rpm install a L<Devel::StackTrace::AsHTML> error screen for your CGI app
perl-CGI-Carp-Throw-0.04-alt1.noarch.rpm perl module CGI-Carp-Throw
perl-CGI-ClientError-0.03-alt1.noarch.rpm perl module CGI-ClientError
perl-CGI-Compress-Gzip-1.03-alt1.noarch.rpm CGI with automatically compressed output
perl-CGI-ContactForm-1.50-alt1.noarch.rpm Generate a web contact form