本文介绍了FederationPassive重定向问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在进行测试,使用一个简单的asp页面(部署为IIS默认网站default.aspx)作为RP从日内瓦服务器beta 2(部署在同一个IIS框中)检索声明。日内瓦服务器已配置为包含具有AD attirbutes映射声明的适当RP。

使用FedUtil修改web.confg文件后,我们通过浏览测试页面进行了快速测试( https:// localhost ),我们注意到请求已重定向到"FederationPassive"。虚拟目录()然后我们得到一个白页。

没有记录错误在Eventviewer,IIS日志文件和其他任何地方。 ASP.Net跟踪已启用,但浏览器中没有任何用处。

我注意到这个论坛中有一个类似的线程提到web.config文件必须包含< deny users ="?" />和< authentication mode =" None" />在授权元素中。我已经验证我的web.config文件确实包含FedUtil生成的那些元素。

以下是web.config文件中使用Federation Passive的关键行:

< federatedAuthentication>
< wsFederation passiveRedirectEnabled =" true" issuer =" " realm =" " requireHttps = QUOT;真" />
< cookieHandler requireSsl =" true" />
< / federatedAuthentication>

非常感谢提前!!
谢尔曼

解决方案

We are conducting a test to use a simple asp page (deployed as the IIS default website default.aspx) as a RP to retrieve claims from Geneva server beta 2 (deployed on the same IIS box). The Geneva server has been configured to include an appropriate RP with AD attirbutes mapped claims.

After using the FedUtil to modify the web.confg file we did a quick test by browsing to the test page (https://localhost), we noticed that the request has been redirect to the "FederationPassive" virtual directory (https://localhost/FederationPassive/) then we got a white page.

No errors were logged in Eventviewer, IIS log files and anywhere else. The ASP.Net trace has been enabled but nothing comes out useful in the browser.

I noticed a similar thread in this forum that mentions the web.config file must include <deny users="?" /> and <authentication mode="None" /> in the authorization element. I have verified that my web.config file does have those elements generated by the FedUtil.

The following are the key lines in the web.config file to use Federation Passive:

      <federatedAuthentication>
        <wsFederation passiveRedirectEnabled="true" issuer="https://localhost/FederationPassive/" realm="https://localhost/" requireHttps="true" />
        <cookieHandler requireSsl="true" />
      </federatedAuthentication>

Many thanks in advance!!
Sherman



解决方案


这篇关于FederationPassive重定向问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 20:24