简体   繁体   English

在被动STS的依赖方中指定必需/可选的索赔类型

[英]Specifying Required / Optional Claim Types in the Relying Party for a Passive STS

I have an asp.net application (relying party) that uses a passive STS for authentication and retrieval of claim values. 我有一个asp.net应用程序(依赖方),该应用程序使用被动STS进行身份验证和索偿值的检索。 The relying party is using the FederatedAuthenticationModule (FAM) to enable a passive redirect to the sts. 依赖方正在使用FederatedAuthenticationModule(FAM)来启用到sts的被动重定向。 I found documentation on how to specify required claims when using InformationCards, but have yet to find detailed information on how to configure this using a FAM. 我找到了有关使用InformationCard时如何指定必填声明的文档,但尚未找到有关如何使用FAM进行配置的详细信息。

Does anyone have any examples of this? 有人有这个例子吗? The closest example I could find is in the Geneva Framework samples, but they deal with active STS and WCF, which does not apply. 我可以找到的最接近的示例是“日内瓦框架”示例,但是它们处理的是活动的STS和WCF,这并不适用。

Thanks in advance. 提前致谢。

I had also posted this question on the Geneva Framework forum and received an answer. 我也已经在日内瓦框架论坛上发布了这个问题 ,并得到了答案。 Turns out that in the passive model claim types cannot be specified by the relying party. 事实证明,在被动模型中,声明类型不能由依赖方指定。 The passive STS is fully responsible for determining the claims that it will retrieve. 被动STS完全负责确定它将检索的声明。

To make this more flexible I'll probably create a data store with the allowed audience uri's and the claims that they require so that the passive sts can retrieve the claims the RP needs. 为了使此操作更加灵活,我可能会创建一个具有允许的受众uri及其要求的声明的数据存储,以便被动sts可以检索RP需要的声明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM