Get Shibboleth environment variables with Python

James Dore james.dore at
Fri May 16 09:49:52 EDT 2014

On 14 May 2014, at 17:32, Cantor, Scott <cantor.2 at> wrote:

> On 5/14/14, 11:00 AM, "James Dore" <james.dore at> wrote:
>>> Leave Python out of it at first (same goes for any language/API).
>>> First check httpd's access log, it will log REMOTE_USER if it is set.
>> Ah - nothing is logged.
> That's not consistent with the rest of your post, if the log you're
> looking at is the one where the SP is running, since your log shows EPPN
> being received and it's mapped to REMOTE_USER.

You’re right - I flushed the logs and tried again: - bodl0032 at [16/May/2014:14:28:21 +0100] "GET /secure/login-unrestricted.html?sip= HTTP/1.1" 200 1412 - - [16/May/2014:14:28:21 +0100] "GET /secure/login-unrestricted.html?sip= HTTP/1.0" 302 816 - bodl0032 at [16/May/2014:14:28:21 +0100] "GET /secure/hotspot.js HTTP/1.1" 200 5519 - bodl0032 at [16/May/2014:14:28:21 +0100] "GET /secure/images/RuckusLogo.jpg HTTP/1.1" 200 28449

More like it. bodl0032 at is my eppn value; I suspect it was just lost in the large log file. 


More information about the users mailing list