Lemonldap::Portal::Standard

Lemonldap::Portal::Standard is a Perl extension for the Lemonldap SSO system.
Download

Lemonldap::Portal::Standard Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Eric Glass & Xavier Guimard
  • Publisher web site:
  • http://search.cpan.org/~egerman/Lemonldap-Portal-Standard-3.1.0/lib/Lemonldap/Portal/Standard.pm

Lemonldap::Portal::Standard Tags


Lemonldap::Portal::Standard Description

Lemonldap::Portal::Standard is a Perl extension for the Lemonldap SSO system. Lemonldap::Portal::Standard is a Perl extension for the Lemonldap SSO system.SYNOPSIS use Lemonldap::Portal::Standard; sub my_method { my $self = shift; my $user = $self->{'user'}; $user.="-cp" if $user !~ /-cp$/; $self->{'user'} = $user; return ; } my $message = ''; my %params =Vars; my $stack_user=Lemonldap::Portal::Standard->new('formateUser' => &my_method); my $urlc; my $urldc; $retour=$stack_user->process(param => %params, server => $ReverseProxyConfig::ldap_serveur, port => $ReverseProxyConfig::ldap_port, DnManager => $ReverseProxyConfig::ldap_admin_dn, passwordManager => $ReverseProxyConfig::ldap_admin_pd, branch => $ReverseProxyConfig::ldap_branch_people ); if ($retour) { $message=$retour->message; $erreur=$retour->error; } See in directory examples for more details Lemonldap is a SSO system under GPL. The authentification phase need to display a form with user / password . Standard.pm manage all the cycle of authentification : step 0 : setting configuration step 1 : manage the source of request step 2 : manage timeout step 3 : control the input form of user and password step 4 : formate the userid if needing step 5 : build the filter for the search step 6 : build subtree for the search ldap step 7 : make socket upon ldap server step 8 : bind operation step 9 : make search step 10 : confection of %session from ldap infos step 11 : unbind step 12 : re-bind for validing user's credentials Any step can bee overload for include your custom method. standards errors messages : 1 => 'Your connection has expired; You must to be authentified once again', 2 => 'User and password fields must be filled', 3 => 'Wrong directory manager account or password' , 4 => 'not found in directory', 5 => 'wrong credentials' , warning the value 9 for error message is returned then the form is empty is't not an real error , perhaps it's the initial request. Requirements: · Perl


Lemonldap::Portal::Standard Related Software