Plack::...nldapNG(3)
π Plack::Middleware::Auth::LemonldapNG β the auth glow-up for Lemonldap-NG π
okay bestie, buckle up, because this page is literally about Plack::Middleware::Auth::LemonldapNG, a Perl module living in the User Contributed Perl Documentation corner of the universe, and it is here to gatekeep your web app (in the good, secure way). π«Ά
β¨ NAME β¨
Plack::Middleware::Auth::LemonldapNG β authentication middleware for Lemonldap-NG. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
here's how you actually use it, no cap:
use Plack::Builder;
my $app = sub { ... };
# Optionally ($proposedResponse is the PSGI response of Lemonldap::NG handler)
#sub on_reject {
# my($self,$env,$proposedResponse) = @_;
# ...
#}
builder
{
enable "Auth::LemonldapNG";
# Or with some LLNG args or a reject sub
#enable "Auth::LemonldapNG",
# llparams => {
# configStorage => ...
# },
# on_reject => \&on_reject;
$app;
};
# Or through OO Interface
my $builder = Plack::Builder->new();
$builder->add_middleware(
"Auth::LemonldapNG",
llparams => {
configStorage => ...
},
on_reject => \&on_reject
);
$protected_app = $builder->wrap($app);
bestie note: those#lines are commented out on purpose β they're showing you the optional paths.on_rejectgets called withmy($self,$env,$proposedResponse) = @_;, where$proposedResponseis the PSGI response of the Lemonldap::NG handler. iykyk. π§
π¦ DESCRIPTION π¦
Lemonldap::NG is a modular Web-SSO built on top of Apache::Session modules. it makes building a protected area so much easier β you only need a few tiny changes in your app and boom, you're locked down. β¨
it handles both authentication and authorization, and it hands you headers for accounting too. so yeah β full AAA protection for your web space, exactly as described below. no notes. π
Plack::Middleware::Auth::LemonldapNG is the module that gives you all of that for a Plack family server. it's giving protective bestie energy fr fr. π‘οΈπ
π SEE ALSO π
- <http://lemonldap-ng.org>
PlackPlack::Middleware
go read them, they're iconic. π
π AUTHORS π
LemonLDAP::NG team <http://lemonldap-ng.org/team> β legends, honestly. π
π BUG REPORT π
use the OW2 system to report a bug or ask for features:
<https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
not me telling you to actually file the bug instead of just complaining in the group chat π go, they want to hear from you.
π DOWNLOAD π
Lemonldap::NG is available at <https://lemonldap-ng.org/download> π
π COPYRIGHT AND LICENSE π
see the COPYING file for details.
this library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details.
you should have received a copy of the GNU General Public License along with this program. if not, see <http://www.gnu.org/licenses/>.
and that's a wrap, bestie!! π«Ά this whole page was served up fresh by perl v5.42.3 on 2026-09-24 β go forth, protect your app, and slay. π β¨πΈ
π¦ where this page comes from
- fedora 43: lemonldap-ng-handler 2.23.4-1.fc43 Β· GPL-2.0-or-later AND MIT AND GPL-3.0-or-later AND OFL-1.1-RFN
- fedora 44: lemonldap-ng-handler 2.23.4-1.fc44 Β· GPL-2.0-or-later AND MIT AND GPL-3.0-or-later AND OFL-1.1-RFN
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms