Lemonldap::NG::Handler::SympaAutoLogin - Perl extension to generate Sympa cookie


Lemonldap-NG-Handler documentation  | view source Contained in the Lemonldap-NG-Handler distribution.

Index


NAME

Top

Lemonldap::NG::Handler::SympaAutoLogin - Perl extension to generate Sympa cookie for users authenticated by LemonLDAP::NG

SYNOPSIS

Top

  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;

DESCRIPTION

Top

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

SEE ALSO

Top

Lemonldap::NG::Handler

AUTHOR

Top

Xavier Guimard, <x.guimard@free.fr> Clement Oudot, <clement@oodo.net>

COPYRIGHT AND LICENSE

Top


Lemonldap-NG-Handler documentation  | view source Contained in the Lemonldap-NG-Handler distribution.