【问题标题】:Securing root directory in IIS with Shibboleth SAML/SSO by not setting specific path通过不设置特定路径,使用 Shibboleth SAML/SSO 保护 IIS 中的根目录
【发布时间】:2018-12-07 18:24:09
【问题描述】:

示例 shibboleth2.xml 文档在 RequestMap 节点下显示 IIS:

<Host name="domain.com">
    <Path name="secure" authType="shibboleth" requireSession="true"/>
</Host>

这确实锁定了 domain.com/secure 上的“安全”目录。但是,如果我只想保护 domain.com 而不是任何特定的子目录怎么办?

换句话说,我如何保护根目录并仍然应用 authType 和 requireSession?

我尝试在那个空格中不放任何“”,也只放一个斜杠 (/),但似乎没有这样做。

【问题讨论】:

    标签: shibboleth


    【解决方案1】:

    您需要将authType="shibboleth"requireSession="true" 元素移动到&lt;Host&gt; RequestMap 配置中,即将您的替换为:

    <Host name="domain.com" authType="shibboleth" requireSession="true" />
    

    见:https://wiki.shibboleth.net/confluence/display/SP3/Host

    【讨论】:

    • 您的回答很有道理,但我肯定无法通过阅读我已经完成的 wiki 来弄清楚这一点。我很快就会试一试。谢谢!
    猜你喜欢
    • 2021-12-12
    • 2021-02-19
    • 1970-01-01
    • 1970-01-01
    • 2018-12-26
    • 2016-07-03
    • 2016-05-10
    • 2012-08-12
    • 2017-03-17
    相关资源
    最近更新 更多