Iis 缺少Shibboleth SP3 HTTP头

Iis 缺少Shibboleth SP3 HTTP头,iis,http-headers,shibboleth,shibboleth-sp,Iis,Http Headers,Shibboleth,Shibboleth Sp,我在一台服务器上使用shibboleth SP 3和IIS 8。我保护一个文件夹安全并重定向到一个测试ADFS,在那里我配置了从AD中提取UPN 我的attribute-map.xml如下所示: <Attributes xmlns="urn:mace:shibboleth:2.0:attribute-map" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Attribute name="http://sc

我在一台服务器上使用shibboleth SP 3和IIS 8。我保护一个文件夹安全并重定向到一个测试ADFS,在那里我配置了从AD中提取UPN

我的attribute-map.xml如下所示:

<Attributes xmlns="urn:mace:shibboleth:2.0:attribute-map" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Attribute name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn" id="UPN" />
</Attributes>
一切正常。我检查http头和服务器变量,所有自定义的shibboleth头都在那里,相应的服务器变量前缀为http_

我正在测试服务器Windows server 2012和IIS 8上部署它。我的问题是,我仍然有服务器变量,但没有HTTP_uu;前缀,我不再有HTTP头,而我的应用程序依赖于它们

配置文件几乎相同。我已经在Shibboleth SP wiki中进行了深入的研究,这是一个很难阅读的地方,我找不到可以微调属性如何添加到HTTP头或服务器变量中的地方

你有什么线索吗


谢谢。

Shibboleth SP 3使用新的iis7_shib.dll而不是旧的isapi_shib.dll,并且默认情况下不再填充标头。看

但是,您可以编辑元素以使用标题。。。请参阅:以获取文档,但它应该与替换一样简单


在shibboleth2.xml文件中。

谢谢,它确实可以与isapi_shib.dll一起使用。测试团队中的某个人在处理程序模块仍在工作时移除了isapi过滤器。添加ISAPI过滤器使其工作。这可能是一个临时解决方案。我预计isapi_shib.dll最终会消失,尽管这可能在未来很长一段时间内不会真正影响您。