]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Add "SSLUserName" directive to set r->user based on a chosen SSL
authorJoe Orton <jorton@apache.org>
Thu, 3 Jun 2004 15:00:15 +0000 (15:00 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 3 Jun 2004 15:00:15 +0000 (15:00 +0000)
commitc5e7b2778eab53d26132e8ad753d97bcd1176d10
tree5f433d8256b3ce7e812865e2c4cef7dba8b4397d
parent30405dc3cf10f896a80d5758fdb6d87211107d63
Add "SSLUserName" directive to set r->user based on a chosen SSL
environment variable name.

* modules/ssl/ssl_private.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 <martin v.loewis.de>

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