Get Shibboleth environment variables with Python
James Dore
james.dore at new.ox.ac.uk
Tue May 20 04:36:05 EDT 2014
On 19 May 2014, at 21:19, Peter Schober <peter.schober at univie.ac.at> wrote:
> * Liam Hoekenga <liamr at umich.edu> [2014-05-19 17:38]:
>> On Tue, May 13, 2014 at 10:41 AM, James Dore <james.dore at new.ox.ac.uk>wrote:
>>
>>> How do I capture the Shibboleth environment variables with Python? I’ve
>>> written a small script that dumps out all the OS variables which Python can
>>> see, and it runs immediately after a Shibboleth login. I was expecting to
>>> see REMOTE_USER at least, but it does not appear.
>>
>>
>> Are you doing this on the IdP or an SP? Where does the script run?
>
> This was about the recieveing end (an SP or a webserver in the vicinity
> of the SP, possibly a proxy from what has been said so far).
> -peter
Yes, the SP and Wifi portal scripts are all running on the same box (virtual machine) - which for clarity is a Win2k8 server, with Shibboleth 2.5.3, Apache 2.2.x and Python 2.7.6.
Cheers,
James
More information about the users
mailing list