When a request is successfully adapted, the external ACL username and
password are now inherited with this patch. This means the
LFT_USER_NAME log token can display the username from an external ACL
if available, for adapted requests.
The HttpRequest will inherit the password for good measure as well -
while none too useful, it seems strange to inherit the username but
not the password.
copy->myportname = myportname;
copy->tag = tag;
-#if USE_AUTH
- copy->extacl_user = extacl_user;
- copy->extacl_passwd = extacl_passwd;
-#endif
copy->extacl_log = extacl_log;
copy->extacl_message = extacl_message;
errDetail = aReq->errDetail;
#if USE_AUTH
auth_user_request = aReq->auth_user_request;
+ copy->extacl_user = extacl_user;
+ copy->extacl_passwd = extacl_passwd;
#endif
// main property is which connection the request was received on (if any)