From 86cbecbde9fb965d68602816896391175f45d449 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Sun, 11 May 2008 09:18:08 +0000 Subject: [PATCH] LEMONDLAP::NG : little existingSession documentation in Portal --- .../lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm index f8887eab5..379a09909 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm @@ -275,6 +275,20 @@ connected on it in the last 10 minutes. =back +=head2 Existing sessions + +By default, when a user tries to connect to the portal with a valid cookie, +the portal proposes a new authentication. This behaviour can be change easily +by changing C sub : + + use Lemonldap::NG::Portal::SharedConf qw(:all); + + my $portal = Lemonldap::NG::Portal::SharedConf->new ( { + existingSession => sub {PE_DONE}, + configStorage => ... + ... + }); + =head1 USING LEMONLDAP::NG::PORTAL FOR DEVELOPMENT Lemonldap::NG::Portal provides different modules: