Lemonldap::NG::Handler::SympaAutoLogin(3pm)

Lemonldap::NG::Handler::SympaAutoLogin3pm

Perl extension to generate sympa cookie for users authenticated by lemonldap::ng

Usage

  package My::Sympa;
  use Lemonldap::NG::Handler::SympaAutoLogin;
  @ISA = qw(Lemonldap::NG::Handler::SympaAutoLogin);
  __PACKAGE__->init ( {
    # Sympa parameters
    sympaSecret => 'XXXX',
    sympaMailKey => 'mail',
    # See Lemonldap::NG::Handler for more
  } );
  1;

Overview

Lemonldap::NG::Handler::SympaAutoLogin is a special Lemonldap::NG handler that generates Sympa cookie for authenticated users. Use it instead of classic Lemonldap::NG::Handler to protect your Sympa web server. You have to set the configuration key containing user email (parameter sympaMailKey) and to store Sympa secret (cookie parameter on Sympa configuration file) in the corresponding configuration parameter (sympaSecret)

Edit you Sympa vhost configuration like this:

<VirtualHost *>
ServerName sympa.example.com

        # Load Sympa Handler
        PerlRequire __HANDLERDIR__/MyHandlerSympa.pm
        PerlHeaderParserHandler My::Sympa

</VirtualHost>

Export

See Lemonldap::NG::Handler

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

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

Author

Clement Oudot, <[email protected]>
Xavier Guimard, <[email protected]>

From liblemonldap-ng-handler-perl 1.3.3-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.