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

Lemonldap::NG::Portal::AuthWebID3pm

Perl extension for building lemonldap::ng compatible portals with webid authentication.

Usage

  use Lemonldap::NG::Portal::SharedConf;
  my $portal = new Lemonldap::NG::Portal::Simple(
         configStorage     => {...}, # See Lemonldap::NG::Portal
         authentication    => 'WebID',
    );
  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('text/html; charset=utf-8'); # DON'T FORGET THIS (see CGI(3))
    print "...";
  }
  else {
    # If the user enters here, IT MEANS THAT CAS REDIRECTION DOES NOT WORK
    print $portal->header('text/html; charset=utf-8'); # DON'T FORGET THIS (see CGI(3))
    print "<html><body><h1>Unable to work</h1>";
    print "This server isn't well configured. Contact your administrator.";
    print "</body></html>";
  }

Overview

This library just overload few methods of Lemonldap::NG::Portal::Simple to use WebID authentication mechanism.

See Lemonldap::NG::Portal::Simple for usage and other methods.

Bug report

Use OW2 system to report bug or ask for features: <http://jira.ow2.org>

Download

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

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

Xavier Guimard, <[email protected]>

From liblemonldap-ng-portal-perl 1.9.7-3+deb9u2 in Debian 9 (Stretch). Parsed by carta from the page's man source.