perl-CGI-Builder-Auth-0.06-alt1.noarch.rpm


Advertisement

Description

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 ftp.altlinux.org
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/CBAuthDBI.pm. (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 CBAuthCDBI.pm 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.

Alternatives

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

Requires

Name Value
/usr/share/perl5 -
perl(Class/constr.pm) >= 1.750
perl(Class/groups.pm) -
perl(Class/props.pm) >= 1.700
perl(DBI.pm) -
perl(Digest/MD5.pm) -
perl(Digest/SHA1.pm) -
perl(Fcntl.pm) -
perl(File/Basename.pm) -
perl(File/Spec.pm) -
perl(NDBM_File.pm) -
perl(Object/props.pm) -
perl(Scalar/Util.pm) -
perl(Symbol.pm) -
perl(overload.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(CGI/Builder/Auth.pm) -
perl(CGI/Builder/Auth/AdminBase.pm) = 1.001.001
perl(CGI/Builder/Auth/Context.pm) -
perl(CGI/Builder/Auth/Group.pm) -
perl(CGI/Builder/Auth/GroupAdmin.pm) = 1.500
perl(CGI/Builder/Auth/GroupAdmin/DBM.pm) = 1.200
perl(CGI/Builder/Auth/GroupAdmin/DBM/apache.pm) = 1.001.001
perl(CGI/Builder/Auth/GroupAdmin/SQL.pm) = 1.001.001
perl(CGI/Builder/Auth/GroupAdmin/Text.pm) = 1.001.001
perl(CGI/Builder/Auth/GroupAdmin/Text/cern.pm) = 1.001.001
perl(CGI/Builder/Auth/Realm.pm) -
perl(CGI/Builder/Auth/RealmManager.pm) = 1.330
perl(CGI/Builder/Auth/User.pm) -
perl(CGI/Builder/Auth/UserAdmin.pm) = 1.510
perl(CGI/Builder/Auth/UserAdmin/DBM.pm) = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/DBM/netscape.pm) = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/SQL.pm) = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/Text.pm) = 1.001.001
perl(CGI/Builder/Auth/UserAdmin/Text/cern.pm) = 1.001.001
perl-CGI-Builder-Auth = 0.06-alt1

Download

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] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/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

Files

Path
/usr/share/doc/perl-CGI-Builder-Auth-0.06/Changes
/usr/share/doc/perl-CGI-Builder-Auth-0.06/README
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/CBAuth.pm
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/CBAuthCDBI.pm
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/CBAuthDBI.pm
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/CDBI_base.pm
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/CDBI_group.pm
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/CDBI_link.pm
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/CDBI_user.pm
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/cbauth.cgi
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/cbauthcdbi.cgi
/usr/share/doc/perl-CGI-Builder-Auth-0.06/examples/cbauthdbi.cgi
/usr/share/perl5/CGI/
/usr/share/perl5/CGI/Builder/Auth.pm
/usr/share/perl5/CGI/Builder/Auth/AdminBase.pm
/usr/share/perl5/CGI/Builder/Auth/Context.pm
/usr/share/perl5/CGI/Builder/Auth/Group.pm
/usr/share/perl5/CGI/Builder/Auth/GroupAdmin.pm
/usr/share/perl5/CGI/Builder/Auth/Realm.pm
/usr/share/perl5/CGI/Builder/Auth/RealmManager.pm
/usr/share/perl5/CGI/Builder/Auth/User.pm
/usr/share/perl5/CGI/Builder/Auth/UserAdmin.pm
/usr/share/perl5/CGI/Builder/Auth/GroupAdmin/DBM.pm
/usr/share/perl5/CGI/Builder/Auth/GroupAdmin/SQL.pm
/usr/share/perl5/CGI/Builder/Auth/GroupAdmin/Text.pm
/usr/share/perl5/CGI/Builder/Auth/GroupAdmin/DBM/apache.pm
/usr/share/perl5/CGI/Builder/Auth/GroupAdmin/Text/cern.pm
/usr/share/perl5/CGI/Builder/Auth/UserAdmin/DBM.pm
/usr/share/perl5/CGI/Builder/Auth/UserAdmin/SQL.pm
/usr/share/perl5/CGI/Builder/Auth/UserAdmin/Text.pm
/usr/share/perl5/CGI/Builder/Auth/UserAdmin/DBM/netscape.pm
/usr/share/perl5/CGI/Builder/Auth/UserAdmin/Text/cern.pm

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
Advertisement
Advertisement