#!/usr/bin/perl use Lemonldap::NG::Portal::SharedConf; my $portal = Lemonldap::NG::Portal::SharedConf->new( { configStorage => { type => 'File', dirName => '__CONFDIR__', }, } ); if ( $portal->process() ) { print $portal->header('text/html; charset=utf8'); print $portal->start_html; print "

Your well authenticated !

"; print "Click here to logout"; print $portal->end_html; } else { print $portal->header('text/html; charset=utf8'); print $portal->start_html; print 'Error: ' . $portal->error . '
'; print '
'; print ''; print 'Login :
'; print 'Password :
'; print ''; print '
'; print $portal->end_html; }