The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Plack::Middleware::LemonLDAP::BasicAuth - Middleware to provide LemonLDAP support for Plack applications

VERSION

version 0.02

DESCRIPTION

LemonLDAP is a great tool to implement Single-Sign-On for webapplications. Unfortunately it doesn't support nginx yet, but is tied to Apache (as it is implemented using mod_perl handlers).

This middleware is one way to add LemonLDAP support for applications that supports HTTP BasicAuth for authentication.

Example

One application that supports HTTP BasicAuth for authentication is OTRS. It has a basic PSGI support so that you can run it with Starman.

  starman -e 'enable "LemonLDAP::BasicAuth", portal => "http://auth.example.com"' app.psgi

If no user is logged in,

AUTHOR

Renee Bäcker <reneeb@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Renee Bäcker.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)