[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919330: ITP: libapache2-mod-authn-yolo



Package: wnpp
Severity: wishlist
Owner: Hans van Kranenburg <hans@knorrie.org>

* Package name    : libapache2-mod-authn-yolo
  Version         : 1.1
  Upstream Author : Hans van Kranenburg <hans@knorrie.org>
* URL             : https://github.com/knorrie/mod-authn-yolo/
* License         : Apache-2.0
  Programming Lang: C
  Description     : Yolo style authentication for Apache 2

The authn_yolo module is an authentication provider for Basic
Authentication in the Apache2 web server. It accepts any combination of
user and password.

Sometimes this is useful when testing or building a proof of concept,
since there's no need to generate a htpasswd file etc. It can also be
used to pass a user name to Apache in a scenario where verification of
the credentials is delegated to a reverse proxy in front of Apache.

--- >8 ----

So, this apache2 authentication module doesn't do more than just...

    return AUTH_GRANTED;

It can be used like this:

<Location />
    AuthType Basic
    AuthName "Yolo"
    AuthBasicProvider yolo
    Require valid-user
</Location>

There seems to be no other way in apache2 to end up with the same
result, allowing everything, but still ending up with the provided
username in r->user.

The actual use case for this (at $dayjob, at Mendix) is to be able to do
all authentication and authorization work in nginx with custom code
using lua etc etc... and still have apache2 running libapache2-mod-svn
behind it, using the user name from the basic auth header as svn commit
author.

Thanks,
Knorrie


Reply to: