I have successfully installed Shibboleth SP on our server (server 2003 IIS6) and it is working with a third party IDP. I know this is working as the /Session value returns the attributes I need.
At the moment though I am unable to access those session variables from a .net application. the variables are not being put in the head.
Any help greatly appreciated.
–Update–
In the attribute-map.xml I have the following related to the attribute I need (affiliation)
<Attribute name="urn:mace:dir:attribute-def:eduPersonScopedAffiliation" id="affiliation" aliases="Shib-EP-Affiliation">
<AttributeDecoder xsi:type="ScopedAttributeDecoder" caseSensitive="false"/>
</Attribute>
<Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" id="affiliation" aliases="Shib-EP-Affiliation">
<AttributeDecoder xsi:type="ScopedAttributeDecoder" caseSensitive="false"/>
</Attribute>
Is ther something extra I should be adding into here?
As I recall, the attributes should be available in the
Request.ServerVariablescollection or theRequest.Headerswith the keys you specify in your Attribute-Map.xml configuration. Be aware though that there is some documented strangeness with the keys when using IIS and ASP.NET wherein they tend to get a prefix prepended to the names you’ve configured and some other things that occur, too. The most reliable approach to finding out what the actual key values are is to knock up a test page that iterates through the contents of theServerVariablesorHeaderscollection and displays them.