From b9ff564c1f71a3c45e75c59bebe278f4da11af6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Schmidts?= Date: Wed, 15 Jan 2014 23:01:36 +0100 Subject: [PATCH] not only apache uses REMOTE_USER removing the apache mention to make the config more "webserver agnostic" --- config | 2 +- radicale/auth/{apache.py => remote_user.py} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename radicale/auth/{apache.py => remote_user.py} (90%) diff --git a/config b/config index ea14ebb..976a3b7 100644 --- a/config +++ b/config @@ -47,7 +47,7 @@ stock = utf-8 [auth] # Authentication method -# Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | custom | apache +# Value: None | htpasswd | IMAP | LDAP | PAM | courier | http | custom | remote_user type = None # custom auth handler diff --git a/radicale/auth/apache.py b/radicale/auth/remote_user.py similarity index 90% rename from radicale/auth/apache.py rename to radicale/auth/remote_user.py index 7c3cf16..d61c26c 100644 --- a/radicale/auth/apache.py +++ b/radicale/auth/remote_user.py @@ -18,7 +18,7 @@ # along with Radicale. If not, see . """ -Trusting apache auth mechanism. +Trusting the HTTP server auth mechanism. """ from .. import log @@ -26,5 +26,5 @@ from .. import log def is_authenticated(user, password): """Check if ``user`` is defined and assuming it's valid.""" - log.LOGGER.debug('Got user %r from apache.' % user) + log.LOGGER.debug('Got user %r from HTTP server.' % user) return user is not None