Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.541.770 Times

Lemonldap::NG::Portal 0.02

  Date Added: November 01, 2010  |  Visits: 527

Lemonldap::NG::Portal

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



Lemonldap::NG::Portal is a Perl extension for building Lemonldap compatible portals. SYNOPSIS use Lemonldap::NG::Portal; my $portal = new Lemonldap::NG::Portal( domain => gendarmerie.defense.gouv.fr, storageModule => Apache::Session::MySQL, storageOptions => { 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, }, ldapServer => ldap.domaine.com, cookie_secure => 1, ); # Example of overloading: choose the LDAP variables to store $portal->{setSessionInfo} = sub { my ($self) = @_; foreach $_ qw(uid cn mail appli) { $self->{sessionInfo}->{$_} = $entry->get_value($_); } PE_OK; }; if($portal->process()) { # Write here the menu with CGI methods. This page is displayed ONLY IF # the user was not redirected here. print $portal->header; # DONT FORGET THIS (see L ) print "..."; # or redirect the user to the menu print $portal->redirect( -uri => https://portal/menu); } else { # Write here the html form used to authenticate with CGI methods. # $portal->error returns the error message if athentification failed # Warning: by defaut, input names are "user" and "password" print $portal->header; # DONT FORGET THIS (see L ) print "..."; print ; # In your form, the following value is required for redirection print ; # Next, login and password print Login : ; print Password : ; print ; } Lemonldap is a simple Web-SSO based on Apache::Session modules. It simplifies the build of a protected area with a few changes in the application (they just have to read some headers for accounting). It manages both authentication and authorization and provides headers for accounting. So you can have a full AAA protection for your web space. There are two ways to build a cross domain authentication: Cross domain authentication itself (Lemonldap::Portal::Cda (not yet implemented in Lemonldap::NG)) Liberty Alliance (See Lemonldap::ServiceProvider and Lemonldap::IdentityProvider) This library is a way to build Lemonldap compatible portals. You can use it either by inheritance or by writing anonymous methods like in the example above..

Requirements: No special requirements
Platforms: Linux
Keyword: Building Compatible Db Lemonldapngportal Libraries Password Perl Print Programming
Users rating: 0/10

License: Freeware Size: 2.05 KB
USER REVIEWS
More Reviews or Write Review


LEMONLDAP::NG::PORTAL RELATED
Libraries  -  Db::Mediasurface 0.03
Db::Mediasurface is a Perl module that manipulates a Mediasurface database. SYNOPSIS use Db::Mediasurface; $path = /opt/ms/3.0/etc/ms.properties; $ms = Db::Mediasurface->new( config_file=>$path ); print ("Schema version:...
3.07 KB  
Libraries  -  DB::Appgen 1.0
DB::Appgen is a Perl interface which includes both function oriented and object oriented interfaces to manipulate data in APPGEN Custom Suite databases. All this was made in about four hours including reading perlxstut manpage, so do not expect...
9.22 KB  
Libraries  -  Aw::Admin 0.16.7
Aw::Admin is a Perl extension for the ActiveWorks C Administration Libraries. SYNOPSIS use Aw MyFavoriteBroker@my.host.net:6449; require Aw::Admin::ServerClient; my $desc = new Aw::ConnectionDescriptor; my $server = new...
122.88 KB  
Networking Tools  -  pybonjour 1.1.0
pybonjour provides a pure Python interface (via ctypes) to Apple Bonjour and compatible DNS-SD libraries (such as Avahi). The application allows Python scripts to take advantage of Zero Configuration Networking (Zeroconf) to register, discover,...
15.36 KB  
Security Tools  -  Authen::OTP 1.0.0
Authen::OTP is a One Time Password perl module implementing RFC 2289. It goes beyond computing the nth OTP. It helps admins maintain users OTP passwords, authenticates users, updates their current states, provides the challenges, etc. It can...
17.41 KB  
Programming  -  Html2perl 0.2
Html2perl is a simple console based utility for converting HTML text streams (or any ASCII based text stream for that matter) into a series of perl print statements for inclusion in a Perl script.
36.54 KB  
Programming  -  pyxmldsig 0.03
pyxmldsig is a Python library to create and verify XML Digital Signatures (XML-DSig). This is a simple interface to the PyXMLSec library, aiming to provide a more pythonic API suitable for Python applications. This code is inspired from...
10.24 KB  
Libraries  -  CompBio::DB 0.47
CompBio::DB is a Perl module with methods for accessing data stored according to the CompBio base schema. SYNOPSIS use CompBio::DB; my $cbdb = CompBio::DB->new({host => "foo.bar.edu"); my $AR_defs = $cbdb->get_annotation([keys %seqs]);...
63.49 KB  
Libraries  -  DBIx::SQLCrosstab::Format 1.17
DBIx::SQLCrosstab::Format is a Perl module with formats results created by DBIx::SQLCrosstab. SYNOPSIS use DBIx::SQLCrosstab::Format; my $dbh=DBI->connect("dbi:driver:database" "user","password", {RaiseError=>1}) or die "error in connection...
66.56 KB  
Libraries  -  Apache::Audio::DB 0.01
Apache::Audio::DB is a Perl module that can generate a database of your tunes complete with searchable interface and nifty statistical analyses! SYNOPSIS # httpd.conf or srm.conf AddType audio/mpeg mp3 MP3 # httpd.conf or access.conf <...
62.46 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB