Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    WWW::Authen::Simple 1.22

    Download button

    No screenshots available
    Downloads: 469  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    4 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Josh I. Miller | More programs
    Perl Artistic License / FREE
    January 31st, 2012, 05:54 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    WWW::Authen::Simple description

    WWW::Authen::Simple is a cookie based session and authentication module using database backend.

    WWW::Authen::Simple is a cookie based session and authentication module using database backend. Also provides group based authorization.

    SYNOPSIS

    use WWW::Authen::Simple;

    my $simple = WWW::Authen::Simple->new(
    db => $DBI_handle,
    cookie_domain => 'cookie_domain'
    );
    # Alternitively, any of the methods to set variables may also be
    # used directly in the constructor
    $simple->logout() if $cgi->param('logout');
    $simple->login( $cgi->param('login'), $cgi->param('pass') );
    if ($simple->logged_in()) {
    if ($simple->in_group('Admin','rw')) {
    &do_admin_page();
    } else {
    &do_something();
    }
    } else {
    print redirect('/login.pl');
    }

    ABSTRACT

    WWW::Authen::Simple provides another way to do cookie based sessions and authentication. It's goal is to provide a very simple API to handle sessions and authentication.

    The database layout has been abstracted, so you should be able to fit this into whatever database layout you currently use, or use the provided default to base your application.

    NOTE: the database abstraction is configured by a hash. If changes to it's structure are needed, you currently have to rebuild the entire hash, and pass it in (ie. there is no API to make it easy to change yet).

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    session module | authentication module | database backend | session | authentication | database

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM