Lemonldap::NG::Portal::Error(3pm)

Lemonldap::NG::Portal::Error3pm

Simple error page

Usage

  #!/usr/bin/perl
  use Lemonldap::NG::Portal::Error;
  my $portal = Lemonldap::NG::Portal::Error->new(
    {
        configStorage => {
            type    => 'File',
            dirName => '/opt/lemonldap-ng/conf/',
        },
    });
  my $portal_url = $portal->getPortal;
  my $logout_url = "$portal_url?logout=1";
  print $portal->header('text/html; charset=utf8');
  print $portal->star_html('Error');
  print "...":
  print "<a href=$portal_url>Go to portal</a>";
  print "<a href=$logout_url>Logout</a>";
  print $portal->end_html;

Overview

Create a simple portal to display an error page.

Methods

getPortal

Return the portal URL that was configured.

Bug report

Use OW2 system to report bug or ask for features: <http://forge.objectweb.org/tracker/?group_id=274>

Download

Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274>