]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Backport from HEAD: add "SSLUserName" directive to set r->user based
authorJoe Orton <jorton@apache.org>
Mon, 23 Aug 2004 15:18:55 +0000 (15:18 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 23 Aug 2004 15:18:55 +0000 (15:18 +0000)
commitbd04ef3a633c7e54738452a91b6bc0b63b51fbf1
treeb0e0e4a1fe97c2c0fd530f7b2be0131fa312c6c0
parent8bfe2d52a6c7e78dafe7931d3fdabc2786a3c563
Backport from HEAD: add "SSLUserName" directive to set r->user based
on a chosen SSL environment variable name.

* modules/ssl/mod_ssl.h (struct SSLDirConfigRec): Add
szUserName field.

* modules/ssl/ssl_engine_config.c (ssl_config_perdir_create,
ssl_config_perdir_merge): Initialize and merge szUserName field.
(ssl_cmd_SSLUserName): New function.

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Set r->user to
the value of the chosen SSL environment variable.

* modules/ssl/mod_ssl.c: Add SSLUserName config directive.

PR: 20957
Submitted by: Martin v. Loewis
Reviewed by: trawick, jorton, nd

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104770 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
STATUS
modules/ssl/mod_ssl.c
modules/ssl/mod_ssl.h
modules/ssl/ssl_engine_config.c
modules/ssl/ssl_engine_kernel.c