I am maintaining a web application built in python.
Access control for the app is handled at the Apache layer (using the Apache htpasswd file).
Right now, the app works the same no matter who is using it. The app doesn't even know who is logged in. But now I need to add a feature to the app that requires knowing who is logged in.
So the question is this: is there some way to access the Apache session information and see the user name of the user logged i non this session?
Of course I could completely redo the security model so that the app handles user login, but if there is any way to just access the Apache info, that will save me lots of work.
Thanks in advance!