On 04/06/2014, at 11:24 PM, [email protected] wrote: > Hello, > > I'm about to migrate an old mod_python PythonAuthenHandler to an > WSGIAuthUserScript > > In PythonAuthenHandler I could do something like this to mappe the name of > the authenticated user: > > def authenhandler(req): > .... > req.user="newname" > > Now with WSGIAuthUserScript a change of the user variable does not seem to > end up in the REMOTE_USER environment variable > of the script generating the actual web-page. > > Any Idea on how to do this?
Right now there isn't a simple way to pass back an alternate name to use for the user. The issue has been discussed before a long time ago but I can't remember the outcome. Looking at the code just then I can see three possibilities, but it is late here and I need to sleep first before I look at it properly. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
