我已經在我們的服務器(server 2003 IIS6)上成功安裝了Shibboleth SP,並且它正在與第三方IDP一起工作。我知道這是工作的/ Session值返回我需要的屬性。使用c#訪問shibboleth會話數據
目前雖然我無法從.net應用程序訪問這些會話變量。這些變量並沒有被放在頭上。
任何幫助非常感謝。
--Update-- 在屬性map.xml我有以下相關的我所需要的屬性(隸屬關係)
<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>
療法是額外的東西我應該添加到這裏?
我看過這兩個集合,並沒有看到一個shibboleth相關的變量:(。我已經添加了有關attibute-map.xml上面的升技。 –
Shibboleth配置本身有點超出原來的範圍問題,因爲你問如何訪問asp.net應用程序中的屬性,但我可以說,從經驗來看,很容易讓Shibboleth配置出錯,問題甚至可能存在於Attibute-Map.xml文件以外的地方。 'd建議您打開shibd.logger中最詳細的日誌記錄級別,重新啓動守護進程並查看日誌,以查看在您進行身份驗證並重定向時哪些屬性到達並映射.Shibboleth Google組將是最好的 –
我的配置連接錯誤,所以它工作,但不是我期待它的位置。 –