Linux SoftwareProgrammingLibrariesLemonldap::NG::Handler 0.06

Lemonldap::NG::Handler 0.06



Developer:   Xavier Guimard
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Lemonldap::NG::Handler is a Perl extension for building a Lemonldap compatible handler.

SYNOPSIS

Create your own package:

package My::Package;
use Lemonldap::NG::Handler;

our @ISA = qw(Lemonldap::NG::Handler);

__PACKAGE__->init ({locationRules => { 'default' => '$ou =~ /brh/'},
globalStorage => 'Apache::Session::MySQL',
globalStorageOptions => {
DataSource => 'dbi:mysql:database=dbname;host=127.0.0.1',
UserName => 'db_user',
Password => 'db_password',
TableName => 'sessions',
LockDataSource => 'dbi:mysql:database=dbname;host=127.0.0.1',
LockUserName => 'db_user',
LockPassword => 'db_password',
},
localStorage => 'Cache::DBFile',
localStorageOptions => {},
portal => 'https://portal/',
});

More complete example
package My::Package;
use Lemonldap::NG::Handler;

our @ISA = qw(Lemonldap::NG::Handler);

__PACKAGE__->init ( { locationRules => {
'^/pj/.*$' => q($qualif="opj"),
'^/rh/.*$' => q($ou=~/brh/),
'^/rh_or_opj.*$' => q($qualif="opj or $ou=~/brh/),
default => 'accept', # means that all authenticated users are greanted
},
globalStorage => 'Apache::Session::MySQL',
globalStorageOptions => {
DataSource => 'dbi:mysql:database=dbname;host=127.0.0.1',
UserName => 'db_user',
Password => 'db_password',
TableName => 'sessions',
LockDataSource => 'dbi:mysql:database=dbname;host=127.0.0.1',
LockUserName => 'db_user',
LockPassword => 'db_password',
},
localStorage => 'Cache::DBFile',
localStorageOptions => {},
cookieName => 'lemon',
portal => 'https://portal/',
whatToTrace => '$uid',
exportedHeaders => {
'Auth-User' => '$uid',
'Unit' => '$ou',
https => 1,
}
);
Call your package in < apache-directory>/conf/httpd.conf
PerlRequire MyFile
# TOTAL PROTECTION
PerlInitHandler My::Package
# OR SELECTED AREA
< Location /protected-area >
PerlInitHandler My::Package
< /Location >

Requirements:
  • Perl
    tags mysql database  dbname host  host 127  dbi mysql  database dbname  user lockpassword  lockdatasource dbi  sessions lockdatasource  tablename sessions  localstorage cache  cache dbfile  qualif opj  https portal  

    Download Lemonldap::NG::Handler 0.06


     http://mirrors.evolva.ro/CPAN/authors/id/G/GU/GUIMARD/Lemonldap-NG-Handler-0.06.tar.gz


    Authors software

    Lemonldap::NG::Portal 0.02 (by Xavier Guimard)
    Lemonldap::NG::Portal is a Perl extension for building Lemonldap compatible portals.

    SYNOPSIS

    use Lemonldap::NG::Portal;
    m

    Lemonldap::NG::Portal::AuthSsl 0.02 (by Xavier Guimard)
    Lemonldap::NG::Portal::AuthSsl is a Perl extension for building Lemonldap compatible portals based on SSL v3 mechanisms.

    SYNOPSIS

    Lemonldap::NG::Handler::Vhost 0.06 (by Xavier Guimard)
    Lemonldap::NG::Handler::Vhost is a Perl extension for building a Lemonldap compatible handler able to manage Apache virtual hosts.

    Lemonldap::NG::Handler 0.06 (by Xavier Guimard)


    Similar software

    Lemonldap::NG::Handler 0.06 (by Xavier Guimard)

    Lemonldap::NG::Handler::Vhost 0.06 (by Xavier Guimard)
    Lemonldap::NG::Handler::Vhost is a Perl extension for building a Lemonldap compatible handler able to manage Apache virtual hosts.

    Lemonldap::NG::Portal 0.02 (by Xavier Guimard)
    Lemonldap::NG::Portal is a Perl extension for building Lemonldap compatible portals.

    SYNOPSIS

    use Lemonldap::NG::Portal;
    m

    Lemonldap::NG::Portal::AuthSsl 0.02 (by Xavier Guimard)
    Lemonldap::NG::Portal::AuthSsl is a Perl extension for building Lemonldap compatible portals based on SSL v3 mechanisms.

    SYNOPSIS

    LemonLdap for Sympa.org 1.0 (by Sebastien DIAZ)

    REST::Application 0.96 (by Matthew O'Connor)
    REST::Application is a framework for building RESTful web-applications.

    SYNOPSIS

    # MyRESTApp L instance / mod_perl handler

    Chemistry::Artificial::Graphics 0.01 (by Bernat Requesens)

    Apache::AxKit::XSP::Language::SimpleTaglib 1.6.2 (by J?rg Walter)
    Apache::AxKit::XSP::Language::SimpleTaglib is an alternate XSP taglib helper.

    SYNOPSIS

    package Your::XSP::Package;
    use

    SMK PHP Authentication Class 1.0.1 (by SoftMarket)
    SMK PHP Authentication Class package can be used to authenticate users against a MySQL database of user records.

    It can verify whe

    DBD::mSQL 1.2219 (by Jochen Wiedmann)
    DBD::mSQL / DBD::mysql is a Perl module with mSQL and mysql drivers for the Perl5 Database Interface (DBI).

    SYNOPSIS

    use DB


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags