【问题标题】:Shibboleth - Secure different URLs with different IdPsShibboleth - 使用不同的 IdP 保护不同的 URL
【发布时间】:2015-06-15 16:03:41
【问题描述】:

我们的服务器将为不同的客户端提供不同的 Web 应用程序。

我需要能够保护一个具有一个 IdP 的 Web 应用程序和另一个具有不同 IdP 的 Web 应用程序。如下:

“my.host.com/webapp1”与他们的.IdP.com “my.host.com/webapp2”与他们的.IdP2.com

我该如何配置?我假设我需要在我的 shibboleth2.xml 中做一些事情。但我很困惑我应该在哪里保护一条路径并将其绑定到一个 IdP。

我认为这是隐含的,但这是 2 个不同的客户,不应该有任何串扰(即使用一个 IdP 不允许您进入另一个 Web 应用程序,反之亦然)。

【问题讨论】:

    标签: metadata saml-2.0 shibboleth


    【解决方案1】:

    我假设我需要在我的 shibboleth2.xml 中做一些事情。

    您的 shibboleth2.xml 应该包含可能通过 ApplicationOverride 节对多个 IdP 的引用。

    我需要能够保护一个具有一个 IdP 的 Web 应用程序和另一个具有不同 IdP 的 Web 应用程序

    您的 Apache HTTPD 配置应根据路径将用户引导至正确的 Shibboleth EntityId。例如:

    <Location /customer/aaa>
      AuthType shibboleth
      ShibRequireSession On
      ShibRequestSetting entityId https://idp.customeraaa.com/idp/shibboleth
      require shibboleth
    </Location>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-01-07
      • 2013-09-01
      • 2014-05-02
      • 1970-01-01
      • 2022-08-08
      • 2014-03-24
      • 2019-11-17
      • 2014-07-24
      相关资源
      最近更新 更多