It would appear that the user method in Apache2::RequestRec under mod_perl2 allows you to set, as well as retrieve, the user ID. See the docs.
Actually, I'm glad you suggested that because it gives me an idea - I have a situation where I'd really love to use a PerlAuthzHandler but it doesn't work because the user ID is sent through a custom header field or cookie instead of an actual HTTP user.
In reply to Re: mod_perl, Apache access_log, and CGI::Session (Logging Authenticated Username)
by Errto
in thread mod_perl, Apache access_log, and CGI::Session (Logging Authenticated Username)
by monarch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |