如何通过WIF向Passive STS提出其他索赔要求? [英] How do I request additional claims from Passive STS with WIF?

查看:87
本文介绍了如何通过WIF向Passive STS提出其他索赔要求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下内容:

  1. 充当身份提供者(IDP STS)的网站ASP.Net应用程序
  2. 联盟提供商(FP STS)
  3. 充当(RP)的Resource ASP.NET MVC网站

当尝试访问RP中的资源时,它会通过FP STS并被重定向到IDP STS.用户放入其凭据,IDP会根据其有效性提供一些声明,这些声明将传递到FP STS,然后发送回RP.在RP端,将收到索赔并提供资源.我如何向RP提出其他索赔要求?

when trying to access a Resource in RP, it goes thru the FP STS and gets redirected to IDP STS. User puts their credentials and upon validity of that, IDP provides some claims that are passed to FP STS and then sent back to RP. on the RP side, claims are received and resource is proivded. How do i make additional claim requests from RP?

任何建议或方向都将非常棒! 谢谢

Any suggestions or direction would be great! Thank you,

推荐答案

FP应该提供您需要的声明,无论是对从IdP获得的声明进行转换还是添加任何丢失的声明.

The FP should provide the claims you need, whether by trasnforming the claims it gets from the IdP or by adding any missing ones.

在传统情况下,FP知道信任它的RP所需要的所有声明.

In the classic setting, the FP knows about all the claims needed by the RPs that trust in it.

有什么阻止您获得这些东西的吗?

Is anything preventing you from getting those?

有时,不可能一次提出所有需要的索赔.例如,对于用户而言,一些最终需要的声明可能成本很高,而实际上并不需要.在这种情况下,您可以使用此技术: http://msdn.microsoft. com/en-us/library/ee517290.aspx

Sometimes, provinding all claims needed at once is not possible. For example, some eventually needed claims for a user might be to expensive to obtain and they might not be actually needed. In those situations, you can use this techinque: http://msdn.microsoft.com/en-us/library/ee517290.aspx

(注意:我尚未实现或使用它)

(Caveat: I haven't implemented or used it)

这篇关于如何通过WIF向Passive STS提出其他索赔要求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆